Accepting request 828218 from home:michals
+ ibmswtpm2-NVDynamic-Fix-use-of-uninitialized-value.patch OBS-URL: https://build.opensuse.org/request/show/828218 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=22
This commit is contained in:
parent
d3a5b29a0c
commit
ca3d945e5d
13
ibmswtpm2-NVDynamic-Fix-use-of-uninitialized-value.patch
Normal file
13
ibmswtpm2-NVDynamic-Fix-use-of-uninitialized-value.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ur ibmswtpm2-1637.orig/src/NVDynamic.c ibmswtpm2-1637/src/NVDynamic.c
|
||||
--- ibmswtpm2-1637.orig/src/NVDynamic.c 2020-03-26 23:15:48.000000000 +0100
|
||||
+++ ibmswtpm2-1637/src/NVDynamic.c 2020-08-20 16:37:09.481920068 +0200
|
||||
@@ -122,7 +122,7 @@
|
||||
if(HandleGetType(nvHandle) == type)
|
||||
break;
|
||||
}
|
||||
- if(handle != NULL)
|
||||
+ if(addr && (handle != NULL))
|
||||
*handle = nvHandle;
|
||||
return addr;
|
||||
}
|
||||
Only in ibmswtpm2-1637/src: NVDynamic.c~
|
@ -9,6 +9,7 @@ Mon Aug 17 16:59:04 UTC 2020 - Michal Suchanek <msuchanek@suse.de>
|
||||
- ibmswtpm2-fix-empty-decrypt.patch
|
||||
* Fix use of uninitialized value:
|
||||
+ ibmswtpm2-TcpServerPosix-Fix-use-of-uninitialized-value.patch
|
||||
+ ibmswtpm2-NVDynamic-Fix-use-of-uninitialized-value.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 23 12:06:22 UTC 2019 - mgerstner <matthias.gerstner@suse.com>
|
||||
|
@ -34,6 +34,7 @@ URL: https://sourceforge.net/projects/ibmswtpm2
|
||||
Source: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm%{version}.tar.gz
|
||||
Patch: makefile.patch
|
||||
Patch1: ibmswtpm2-TcpServerPosix-Fix-use-of-uninitialized-value.patch
|
||||
Patch2: ibmswtpm2-NVDynamic-Fix-use-of-uninitialized-value.patch
|
||||
BuildRequires: libopenssl-devel >= 1.0
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user