[Konsole-devel] Review Request 128153: Fix potential out of bounds read.
Kurt Hindenburg
kurt.hindenburg at gmail.com
Sat Jun 11 17:13:42 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128153/#review96360
-----------------------------------------------------------
Yea there some serious issues w/ unlimited history. The big file is around 2.1G - the code needs fixed to handle larger # and error checks added.
- Kurt Hindenburg
On June 11, 2016, 4:37 p.m., Martin Tobias Holmedahl Sandsmark wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128153/
> -----------------------------------------------------------
>
> (Updated June 11, 2016, 4:37 p.m.)
>
>
> Review request for Konsole.
>
>
> Repository: konsole
>
>
> Description
> -------
>
> The check was only done when not memory mapped, so there was a potential out of bounds read. In addition the check only printed an error, and didn't return and went ahead with the erronous read.
>
>
> Diffs
> -----
>
> src/History.cpp d00b95a
>
> Diff: https://git.reviewboard.kde.org/r/128153/diff/
>
>
> Testing
> -------
>
> Tested running with the unlimited scrollback and various amounts of printing and scrolling to try to trigger both the mmaped and unmmaped cases.
>
>
> Thanks,
>
> Martin Tobias Holmedahl Sandsmark
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160611/73b64d09/attachment-0001.html>
More information about the konsole-devel
mailing list