Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# See the LICENSE file for the license associated with this file.

AC_INIT([libtpms],[0.9.7])
AC_INIT([libtpms],[0.9.8])
AC_PREREQ([2.69])
AC_CONFIG_SRCDIR(Makefile.am)
AC_CONFIG_AUX_DIR([.])
Expand Down
3 changes: 2 additions & 1 deletion dist/libtpms.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# --- libtpm rpm-spec ---

%define name libtpms
%define version 0.9.7
%define version 0.9.8
%define release 1

# Valid crypto subsystems are 'freebl' and 'openssl'
Expand Down Expand Up @@ -112,6 +112,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libtpms.la
%postun -p /sbin/ldconfig

%changelog

* Tue Jun 10 2025 Stefan Berger - 0.9.7-1
- tpm2: Fix potential out-of-bound access & abort due to HMAC signing issue (CVE-2025-49133)
- tpm2: Remove assigned-to value to offset because it is unused (Coverity)
Expand Down
2 changes: 1 addition & 1 deletion include/libtpms/tpm_library.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extern "C" {

#define TPM_LIBRARY_VER_MAJOR 0
#define TPM_LIBRARY_VER_MINOR 9
#define TPM_LIBRARY_VER_MICRO 7
#define TPM_LIBRARY_VER_MICRO 8

#define TPM_LIBRARY_VERSION_GEN(MAJ, MIN, MICRO) \
(( MAJ << 16 ) | ( MIN << 8 ) | ( MICRO ))
Expand Down
2 changes: 1 addition & 1 deletion src/tpm_library.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ static unsigned char *TPMLIB_GetPlaintext(const char *stream,
const char *endtag,
size_t *length)
{
char *start, *end;
const char *start, *end;
unsigned char *plaintext = NULL;

start = strstr(stream, starttag);
Expand Down