Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133151706
D17058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
459 B
Referenced Files
None
Subscribers
None
D17058.diff
View Options
Index: head/stand/libsa/tftp.c
===================================================================
--- head/stand/libsa/tftp.c
+++ head/stand/libsa/tftp.c
@@ -447,8 +447,10 @@
memset(tftpfile, 0, sizeof(*tftpfile));
tftpfile->tftp_blksize = TFTP_REQUESTED_BLKSIZE;
tftpfile->iodesc = io = socktodesc(*(int *) (f->f_devdata));
- if (io == NULL)
+ if (io == NULL) {
+ free(tftpfile);
return (EINVAL);
+ }
io->destip = servip;
tftpfile->off = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 24, 10:47 AM (32 m, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24129217
Default Alt Text
D17058.diff (459 B)
Attached To
Mode
D17058: libsa: memory leak in tftp_open()
Attached
Detach File
Event Timeline
Log In to Comment