e002a9eee2
In the case where a file lacks a trailing newline, there is some "evil" code to reverse goto the tokenizing code ("make_token") for the final token in the file. In this case, 'fd' is closed more than once. Use a negative sentinel value to guard close(2), preventing the double close. Ideally, this code would be restructured to avoid this ugly construction. Reported by: Coverity CID: 1006123 Sponsored by: EMC / Isilon Storage Division |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.depend | ||
random.6 | ||
random.c | ||
randomize_fd.c | ||
randomize_fd.h |