diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-19 13:22:50 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-19 13:22:50 -0500 |
commit | 971e83ef9c284ff82fdeedb7851fed5b3386dd1a (patch) | |
tree | 05df5ae60546760c44d2bee78c3dd980ea42be50 /src/or | |
parent | 8875a028a738b131a6dce33675ed90c5711ba1e0 (diff) | |
download | tor-971e83ef9c284ff82fdeedb7851fed5b3386dd1a.tar tor-971e83ef9c284ff82fdeedb7851fed5b3386dd1a.tar.gz |
Fix two more SIZE_T_CEILING issues
This patch imposes (very long) limits on the length of a line in a
directory document, and on the length of a certificate. I don't
think it should actually be possible to overrun these remotely,
since we already impose a maximum size on any directory object we're
downloading, but a little defensive programming never hurt anybody.
Roger emailed me that doorss reported these on IRC, but nobody seems
to have put them on the bugtracker.
Diffstat (limited to 'src/or')
0 files changed, 0 insertions, 0 deletions