[Bug 272129] KFind scans binary .a files even when "Include binary files" option is unchecked

Christoph Feck christoph at maxiom.de
Thu May 12 23:19:49 BST 2011


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


Christoph Feck <christoph at maxiom.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christoph at maxiom.de




--- Comment #1 from Christoph Feck <christoph maxiom de>  2011-05-13 00:19:48 ---
The issue is that KFind uses the MIME compliant criterium to check for binary
files. Appearantly, the MIME specification says to check the first 32 bytes
only, and .a files are designed to have a "big" ASCII header (the binary data
starts at offset 68).

Not sure if KFind should use its own function to check a larger range, or if
the kdelibs KMimeType::isBinaryData() function should be enhanced to have an
optional "size" argument.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list