blob: a8e456b004ea95d615f6e58f20043a1ce3d2de64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Description: Fix FTBFS caused by the incomplete condition.
Forwarded: not-needed
--- a/src/tpm2/NVDynamic.c
+++ b/src/tpm2/NVDynamic.c
@@ -122,7 +122,7 @@
if(HandleGetType(nvHandle) == type)
break;
}
- if(handle != NULL)
+ if((handle != NULL) && (addr != 0))
*handle = nvHandle;
return addr;
}
|