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

Luke-Jr bugzilla_noreply at kde.org
Wed Dec 28 17:11:22 UTC 2016


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

            Bug ID: 374259
           Summary: >2 GB history file tries to overflow lseek
           Product: konsole
           Version: 16.04.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: history
          Assignee: konsole-devel at kde.org
          Reporter: luke-jr+kdebugs at utopios.org
  Target Milestone: ---

I was trying to use the unlimited history option to buffer a very long output,
but it seems once the /tmp file gets past 2 GB, konsole just breaks entirely
and floods .xsession-errors :/

lseek(78, -2147483536, SEEK_SET)        = -1 EINVAL (Invalid argument)
write(2, "HistoryFile::get.seek: Invalid argument\n", 40) = 40
write(2, "getHist(...,0,-2147483536): invalid args.\n", 42) = 42

(Additionally, probably Konsole shouldn't flood errors when something fails...)

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


More information about the konsole-devel mailing list