summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authoragc <agc@NetBSD.org>2004-05-17 18:10:33 +0000
committeragc <agc@NetBSD.org>2004-05-17 18:10:33 +0000
commitf8dc59869d70bdce602bc775eecd715dc2a63b3f (patch)
tree7a26515a18471206bd8a2c374020ad64922ee09d /sys/dev/microcode
parent1f358dcd03914391b180fe1a9b2cbf0431cc0a82 (diff)
Fix a reference to stale storage on the stack - malloc the new file
name when gunzip'ing via strdup(3). Fixes a bug whereby the new filename would appear as gibberish when verbosely gunzipping. Fix an off-by-one error when allocating the filename with added suffix, and properly NUL-terminate the new filename. It's NULL, not 0, in char * assignments - there are some still to do here.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions