]> git.ipfire.org Git - thirdparty/tor.git/commit
scan-build: Fix harmless sizeof(ptr) in test_oom.c
authorNick Mathewson <nickm@torproject.org>
Sat, 19 Apr 2014 16:50:17 +0000 (12:50 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 19 Apr 2014 16:52:00 +0000 (12:52 -0400)
commit1800e79ca508e555d43eb8ca36e9544f42c98944
tree304167d852fc594f65131fdcabaae8472aa8feb8
parent5670e38efb8529d3439b8a160e9f19c4147e01ad
scan-build: Fix harmless sizeof(ptr) in test_oom.c

We meant to using random bytes to fill a buffer, up to 3000 at a
time. Instead we were taking them sizeof(void*) at a time.
src/test/test_oom.c