[konsole] [Bug 374259] >2 GB history file tries to overflow lseek

Kurt Hindenburg bugzilla_noreply at kde.org
Sun Jun 18 23:38:19 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=374259

--- Comment #7 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 0ede8bde1f61501b495c88a5fee9f6884e92ad4a by Kurt Hindenburg.
Committed on 18/06/2017 at 22:54.
Pushed by hindenburg into branch 'master'.

Allow unlimited scrollback/history to extend pass 32bit/2GB limit

Revamp the file-based "unlimited" scrollback code to remove limits
caused by 32bit file offsets. Use Qt's I/O functions which are
buffered and use 64bit offsets. Use Qt's map instead of direct mmap
to ensure consistency. Prevent wrap-around of readWriteBalance.

Patch from FreeBSD committed by rezny

https://github.com/freebsd/freebsd-ports-kde/blob/master/x11/konsole/files/patch-src_History.cpp
https://github.com/freebsd/freebsd-ports-kde/blob/plasma5/x11/konsole/files/patch-fix_infinite_scrollback

M  +41   -51   src/History.cpp
M  +7    -8    src/History.h

https://commits.kde.org/konsole/0ede8bde1f61501b495c88a5fee9f6884e92ad4a

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list