diff options
author | jsing <> | 2014-04-30 13:51:58 +0000 |
---|---|---|
committer | jsing <> | 2014-04-30 13:51:58 +0000 |
commit | aeece982185e5f1eb42ffba9239f1c8bfb662d81 (patch) | |
tree | c01f5f9db1f07d63106685be1f6db9f346311ca2 /src/lib/libc/stdlib | |
parent | b8e088b53dabff9eeb33721c6fa4e60831bf9797 (diff) | |
download | openbsd-aeece982185e5f1eb42ffba9239f1c8bfb662d81.tar.gz openbsd-aeece982185e5f1eb42ffba9239f1c8bfb662d81.tar.bz2 openbsd-aeece982185e5f1eb42ffba9239f1c8bfb662d81.zip |
Avoid a potential null pointer dereference by checking that we actually
managed to allocate a fragment, before trying to memcpy data into it.
ok miod@
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions