projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce06c4
)
Fix uninitialized file descriptor
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Mon, 21 Nov 2016 20:24:53 +0000
(21:24 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Mon, 21 Nov 2016 20:24:53 +0000
(21:24 +0100)
tftp.c
patch
|
blob
|
history
diff --git
a/tftp.c
b/tftp.c
index a291ac0ac0c521e5c1994958d57e4228c7026d8e..0b25a9e32db6e1f4c68ab1f983407a47536bfccc 100644
(file)
--- a/
tftp.c
+++ b/
tftp.c
@@
-238,6
+238,7
@@
int tftp_put(struct nmrpd_args *args)
sock = -1;
ret = -1;
+ fd = -1;
if (g_interrupted) {
goto cleanup;