]> git.ipfire.org Git - thirdparty/tor.git/commit
Add an assertion to read_file_to_str_until_eof
authorNick Mathewson <nickm@torproject.org>
Tue, 2 Sep 2014 17:29:11 +0000 (13:29 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 2 Sep 2014 17:29:11 +0000 (13:29 -0400)
commit07a16b33724c90c74a96e42f89ccd1ccdcccf2a7
tree1a4adb6627cf2317609a4da857bbdb17be34605a
parent1a2f2c163f68f888e45908e6493a273eb48b6236
Add an assertion to read_file_to_str_until_eof

The clangalyzer doesn't believe our math here.  I'm pretty sure our
math is right.  Also, add some unit tests.
src/common/util.c
src/test/test_util.c