From ca225744b992bf2bf24e9a2eb357ddef78179667 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 2 Dec 2025 21:51:10 +0000 Subject: [PATCH] v1.9.2: update changelog and version numbers --- CMakeLists.txt | 2 +- docs/changelog.md | 14 ++++++++++++++ include/git2/version.h | 4 ++-- package.json | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5be7bef9f..000870c25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.5.1) -project(libgit2 VERSION "1.9.1" LANGUAGES C) +project(libgit2 VERSION "1.9.2" LANGUAGES C) # Add find modules to the path set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake") diff --git a/docs/changelog.md b/docs/changelog.md index 96d3a9fe1..87e23577d 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,17 @@ +v1.9.2 +------ + +This is a security release with multiple changes. + +* A bug in the external SSH execution is fixed that could cause + arbitrary command execution. Remote repository names were improperly + sent to the shell without quoting. Arguments to the external SSH + command are now sent parameterized. + +* A bug in SSH credential creation is fixed that could cause a + buffer overflow. Public keys that are not NUL terminated were + improperly zeroed. The given length of public keys is now honored. + v1.9.1 ------ diff --git a/include/git2/version.h b/include/git2/version.h index 587a101f9..7db5b53b3 100644 --- a/include/git2/version.h +++ b/include/git2/version.h @@ -21,7 +21,7 @@ GIT_BEGIN_DECL * The version string for libgit2. This string follows semantic * versioning (v2) guidelines. */ -#define LIBGIT2_VERSION "1.9.1" +#define LIBGIT2_VERSION "1.9.2" /** The major version number for this version of libgit2. */ #define LIBGIT2_VERSION_MAJOR 1 @@ -30,7 +30,7 @@ GIT_BEGIN_DECL #define LIBGIT2_VERSION_MINOR 9 /** The revision ("teeny") version number for this version of libgit2. */ -#define LIBGIT2_VERSION_REVISION 1 +#define LIBGIT2_VERSION_REVISION 2 /** The Windows DLL patch number for this version of libgit2. */ #define LIBGIT2_VERSION_PATCH 0 diff --git a/package.json b/package.json index 3d62e016c..26409260a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libgit2", - "version": "1.9.1", + "version": "1.9.2", "repo": "https://github.com/libgit2/libgit2", "description": " A cross-platform, linkable library implementation of Git that you can use in your application.", "install": "mkdir build && cd build && cmake .. && cmake --build ."