forked from pool/ibmswtpm2
Marcus Meissner
24ef90c9aa
- 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
21 lines
764 B
Diff
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) {
|