ibmswtpm2/ibmswtpm2-fix-uninitialized.patch
Marcus Meissner 24ef90c9aa Accepting request 713487 from home:michals
- Update to upstream version 1332
  * fixes build of ibmtpm v1470
  * add ibmswtpm2-fix-uninitialized.patch
  * run through spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/713487
OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=16
2019-07-07 13:41:20 +00:00

21 lines
764 B
Diff

--- ibmswtpm2-1332/src/TcpServerPosix.c~ 2018-09-07 16:20:51.000000000 +0200
+++ ibmswtpm2-1332/src/TcpServerPosix.c 2019-07-04 19:58:14.736607559 +0200
@@ -292,7 +292,7 @@
int res, i;
int nSock = 0;
socklen_t length[2];
- BOOL continueServing;
+ BOOL continueServing = 0;
if (CreateSocket(PortNumber, &listenSocket[nSock], &length[nSock],
AF_INET) == 0) {
@@ -424,7 +424,7 @@
int res, i;
int nSock = 0;
socklen_t length[2];
- BOOL continueServing;
+ BOOL continueServing = 0;
if (CreateSocket(*PortNumber, &listenSocket[nSock], &length[nSock],
AF_INET) == 0) {