diff options
| author | 2007-02-12 16:41:07 +0000 | |
|---|---|---|
| committer | 2007-02-12 16:41:07 +0000 | |
| commit | 887c4461ff8cbc4f119137dc4a1cdf546473b18a (patch) | |
| tree | 86cb71b124b0bdb22c2bbf4786bae61ba4bce794 /lib/libc/stdlib/malloc.c | |
| parent | detect truncation of block number, which can happen which trashed (diff) | |
| download | wireguard-openbsd-887c4461ff8cbc4f119137dc4a1cdf546473b18a.tar.xz wireguard-openbsd-887c4461ff8cbc4f119137dc4a1cdf546473b18a.zip | |
remsize must be signed to avoid wrapping around to some huge number.
Solves a case were fsck_ffs was causing a segv. If it didn't do that
it would have mangled the filesystem later, very probably.
Diff from FreeBSD; ok millert@ pedro@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
