[Bug 160284] bad mmap causes cores in KPCMemoryDevice
Sebastian Sauer
mail at dipe.org
Thu May 29 23:14:05 CEST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=160284
------- Additional Comments From mail dipe org 2008-05-29 23:14 -------
Created an attachment (id=25001)
--> (http://bugs.kde.org/attachment.cgi?id=25001&action=view)
kpixmapcache.cpp
and since my kpixmapcache.cpp was locally modified and the line-numbers don't
match to those from trunk, I just attach my kpixmapcache.cpp :)
#173: memcpy(buf, mMemory + mSizeEntryOffset, 4);
#523: KPCMemoryDevice dev(info->memory, &info->size, info->available);
#442: if (!mmapFile(mDataFile, &mDataMmapInfo, (int)(q->cacheLimit() * 1.5 +
500) * 1024)) {
More information about the Kdelibs-bugs
mailing list