chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebcccd3
)
prefork-interp: Fix an uninitialised variable
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Aug 2022 17:53:44 +0000
(18:53 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Aug 2022 20:21:10 +0000
(21:21 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cprogs/prefork-interp.c
patch
|
blob
|
history
diff --git
a/cprogs/prefork-interp.c
b/cprogs/prefork-interp.c
index 4e044a26c46a12f85946534fb52fea716fc5499b..2215ded6dc776668d3b7c873ef017455ac5a40b7 100644
(file)
--- a/
cprogs/prefork-interp.c
+++ b/
cprogs/prefork-interp.c
@@
-265,7
+265,7
@@
static bool was_eof(FILE *call_sock) {
static FILE *connect_existing(void) {
int r;
int fd = -1;
- FILE *call_sock;
+ FILE *call_sock
= 0
;
fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (fd==-1) diee("socket() for client");