summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2008-03-02 07:01:01 +0000
committerkaiw <kaiw@FreeBSD.org>2008-03-02 07:01:01 +0000
commit26fa289262c55377a8de57e630722327dfe7b50c (patch)
tree379e1d53811c3da3925a0921191c2cc3e8f04f0b /sys/kern/sched_4bsd.c
parent380ba89956af6818d6332220c2ac73e73c5b8e93 (diff)
downloadFreeBSD-src-26fa289262c55377a8de57e630722327dfe7b50c.zip
FreeBSD-src-26fa289262c55377a8de57e630722327dfe7b50c.tar.gz
- Do not malloc buffer for 0-size member when reading from archive.
- Fix a malloc buffer overrun: Use a while loop to check whether the string buffer is big enough after resizing, since doubling once might not be enough when a very long member name or symbol name is provided. - Fix typo. Reported by: Michael Plass <mfp49_freebsd@plass-family.net> Tested by: Michael Plass <mfp49_freebsd@plass-family.net> Reviewed by: jkoshy Approved by: jkoshy
Diffstat (limited to 'sys/kern/sched_4bsd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud