summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.1
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-01-05 19:48:08 +0000
committerotto <otto@openbsd.org>2005-01-05 19:48:08 +0000
commitc1303ccb8cbab2809c6e4eb45dab8ea8773cb8b5 (patch)
treee21fb4981a4dff206656d21574eee37b5f1a3ddb /usr.bin/diff/diff.1
parentPartially revert some of these changes - misunderstanding between drahn@ and I (diff)
downloadwireguard-openbsd-c1303ccb8cbab2809c6e4eb45dab8ea8773cb8b5.tar.xz
wireguard-openbsd-c1303ccb8cbab2809c6e4eb45dab8ea8773cb8b5.zip
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 'usr.bin/diff/diff.1')
0 files changed, 0 insertions, 0 deletions