[Konsole-devel] Review Request 128153: Fix potential out of bounds read.

Martin Tobias Holmedahl Sandsmark martin.sandsmark at kde.org
Sat Jun 11 16:37:39 UTC 2016

This is an automatically generated e-mail. To reply, visit:

Review request for Konsole.

Repository: konsole


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.


  src/History.cpp d00b95a 

Diff: https://git.reviewboard.kde.org/r/128153/diff/


Tested running with the unlimited scrollback and various amounts of printing and scrolling to try to trigger both the mmaped and unmmaped cases.


Martin Tobias Holmedahl Sandsmark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20160611/0cba9286/attachment.html>

More information about the konsole-devel mailing list