Check size against SIZE_T_CEILING in realloc too.

Fixes bug 2324.
This commit is contained in:
Nick Mathewson
2011-01-03 15:15:27 -05:00
parent 5c09431cc7
commit e09ab69703
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes
- Add a check for SIZE_T_MAX to tor_realloc to try to avoid
underflow errors there too. Fixes bug 2324.