diff options
| author | agc <agc@NetBSD.org> | 2004-05-17 18:10:33 +0000 |
|---|---|---|
| committer | agc <agc@NetBSD.org> | 2004-05-17 18:10:33 +0000 |
| commit | f8dc59869d70bdce602bc775eecd715dc2a63b3f (patch) | |
| tree | 7a26515a18471206bd8a2c374020ad64922ee09d /sys/dev/microcode | |
| parent | 1f358dcd03914391b180fe1a9b2cbf0431cc0a82 (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
