mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
368413a321
Remember, you can't check to see if there are N bytes left in a buffer by doing (buf + N < end), since the buf + N computation might take you off the end of the buffer and result in undefined behavior. Fixes 28202; bugfix on 0.2.0.3-alpha.
5 lines
199 B
Plaintext
5 lines
199 B
Plaintext
o Minor bugfixes (C correctness):
|
|
- Avoid undefined behavior in an end-of-string check when parsing the
|
|
BEGIN line in a directory object. Fixes bug 28202; bugfix on
|
|
0.2.0.3-alpha.
|