https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192032
Bug ID: 192032 Summary: [PATCH] savecore(8): Distinguish getbounds() errors; don't leak a FILE* Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: conrad.me...@isilon.com Created attachment 144872 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144872&action=edit (apply with -p1 in src/) Minor: when fgets(3) fails in getbounds(), check for EOF and if not EOF, print strerror(3). Also, don't leak fp during non-error return (trivial since savecore(8) is not a long-running process anyway). Sponsored by: EMC / Isilon storage division -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"