[rfc] Do not crash reading UPX binaries
Ismail Dönmez
ismail@pardus.org.tr
Sun Jul 1 22:12:00 GMT 2007
On Monday 02 July 2007 00:55:49 Daniel Jacobowitz wrote:
> This patch issues an error instead of a segfault on the testcase
> in PR 2280. UPX is a binary compression system; it's infamous for
> producing very strange files, which are only "just valid enough".
> In this case, it claims that the symbol table is at a large offset
> in a very small file.
>
> I don't think it's worth supporting files this modified. Does anyone
> think we need to do better, or shall I check in the attached?
Please not that attached gdbupx is from a security advisory [0] [1] but it
looks like a simple DoS.
[0] http://blog.xwings.net/?p=71
[1] http://blogs.securiteam.com/index.php/archives/922
Regards,
ismail
--
Perfect is the enemy of good
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070701/e2d4421c/attachment.sig>
More information about the Gdb-patches
mailing list