forked from pool/ibmswtpm2
ca3d945e5d
+ 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
14 lines
441 B
Diff
14 lines
441 B
Diff
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~
|