Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-12-2004, 03:53 PM   #1
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
What is a buffer overflow

Hi all,

This may seem dumb, but what is a buffer overflow, I know that it can allow unauthorized shell access but what is it?

Old 07-12-2004, 03:55 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464 - a good, short explanation.

Last edited by XavierP; 07-12-2004 at 04:04 PM.
Old 07-12-2004, 04:05 PM   #3
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Original Poster
Rep: Reputation: 30
thank you

Old 07-12-2004, 04:30 PM   #4
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
A buffer overflow is when a program receives an input of some kind (ie. thrue internet, console etc.) that it is not expecting and can't handle. For example if I make a program which is expecting you to write 5 characters into the program, but instead writes 5000 chars my program might not handle it corretly so it perhaps continue to write the characters into memory on places it shouldn't touch (where, very simplified, another program might have its settings).

A simple search at google gave me this page. It's more info than I would have felt to write tonight =)
Old 07-12-2004, 05:12 PM   #5
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
do a google for an article called...........
"smashing the stack for fun and profit"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer overflow and ip spoofing Ephracis Linux - Security 10 12-07-2004 05:39 PM
Buffer Overflow pymehta Linux - Security 7 02-24-2004 01:19 PM
buffer overflow cxel91a Programming 3 08-14-2003 05:23 PM
Preventing buffer overflow with gets() JStew Programming 1 11-19-2002 11:03 AM
Q. What is a buffer overflow? auslew Linux - Security 2 11-08-2002 05:36 AM

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration