diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-01-05 19:48:09 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-01-05 19:48:09 +0000 |
commit | a79d9e271a9c209f60a07ed7852e09374d2eaf69 (patch) | |
tree | 030f880262b6de0e48fed3ff78af566a340dfc26 /sys/arch/arm/xscale | |
parent | 57760d0fdaa0859b46f19c135b385c994185f75b (diff) |
Fix handling of memory allocation. Both the initial value of eup
and the new value of bup after realloc() were bogus. This bug has
been here since the net.2 days. Additionally, make the initial
size of the malloc'ed pieces of mem more sane and kill a redundant
test before free(). getcwd(3) is now able to return really long
paths. Problem spotted by Peter Philipp <philipp at scan-plus dot de>
ok millert@ deraadt@
Diffstat (limited to 'sys/arch/arm/xscale')
0 files changed, 0 insertions, 0 deletions