diff options
author | 2006-10-18 23:30:43 +0000 | |
---|---|---|
committer | 2006-10-18 23:30:43 +0000 | |
commit | d3f3c5673e5874215bffb55ad0f002880b2781da (patch) | |
tree | a5a344c0d758a9566c19902b53bdf1afe707bb5a /sys/dev/acpi/acpidebug.c | |
parent | Replace gcc __attribute with __dead. Recompile yields no binary change. (diff) | |
download | wireguard-openbsd-d3f3c5673e5874215bffb55ad0f002880b2781da.tar.xz wireguard-openbsd-d3f3c5673e5874215bffb55ad0f002880b2781da.zip |
Remove useless code that can cause a SEGV if a buffer is realloc()ed.
Allocate buffers early and in one place instead of two.
Fixes PR 5252; OK deraadt
Diffstat (limited to 'sys/dev/acpi/acpidebug.c')
0 files changed, 0 insertions, 0 deletions