diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2016-11-11 14:45:26 +0100 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2016-11-11 14:47:32 +0100 |
commit | 0ef1ae5bbd397b28586694c7ab7775e269fd5798 (patch) | |
tree | fb7cf8e2164f81468dad266f610eb89abb355a99 /messagebus-disc | |
parent | d12a79dfeb505691ecf28604814e88b14bca2b65 (diff) |
avoid possible memory overrun in strchr()
* add a loop to look for newlines that takes the known
file size into account so we don't risk accessing
outside the valid mapped area.
* also, add a log warning (acting as explanation for
this-should-not-happen handling code).
Diffstat (limited to 'messagebus-disc')
0 files changed, 0 insertions, 0 deletions