Bugtraq mailing list archives
Re: simple buffer overflow in gedit
From: Matthias Buelow <mkb () mukappabeta de>
Date: Mon, 24 Nov 2003 18:37:13 +0100
Andreas Constantinides (MegaHz) wrote:
Hello, I discover a strange but simple buffer overflow in gedit.I am using RH9, to demostrate the buffer here is a simple file buffer generator:
[writes 9999999 A's to stdout]
# g++ -o buffer buffer.c # ./buffer > lala # gedit lala Segmentation fault #
your process most likely gets killed because of a resource limit. check ulimit. gedit grows to over 300mb rss with that file as input and seems to stay occupied with running whatever suboptimal algorithms it has for that special case. clearly it's not the proper tool to operate on such files. it doesn't crash, however, at least not the current version 2.4.0.
-- no signature is a good signature
Current thread:
- simple buffer overflow in gedit Constantinides (MegaHz) (Nov 24)
- Re: simple buffer overflow in gedit Matthias Buelow (Nov 24)