Summary: | hexdump(1): Read/branch on uninitialized stat structure leftover from 4.4BSD-lite | ||
---|---|---|---|
Product: | Base System | Reporter: | Andrew Reiter <areiter> |
Component: | bin | Assignee: | Jilles Tjoelker <jilles> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | jilles |
Priority: | --- | Flags: | jilles:
mfc-stable10+
jilles: mfc-stable9- jilles: mfc-stable8- |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Andrew Reiter
2014-12-22 15:12:26 UTC
I should have mentioned this is in usr.bin/hexdump/display.c. Sorry for confusion. Fixed in head r282041. A commit references this bug: Author: jilles Date: Sun May 10 21:26:08 UTC 2015 New revision: 282738 URL: https://svnweb.freebsd.org/changeset/base/282738 Log: MFC r282041: hexdump: Don't use uninitialized struct stat. PR: 196194 Changes: _U stable/10/ stable/10/usr.bin/hexdump/display.c |