Go Back   Velocity Reviews > Newsgroups > Computer Security
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Computer Security - What is the "stack"?

 
Thread Tools Search this Thread
Old 08-20-2003, 03:52 PM   #1
Default What is the "stack"?


Hello,
Can someone please define the "stack"? As in, "stack-based buffer overflow".
Thanks




Simon
  Reply With Quote
Old 08-20-2003, 07:04 PM   #2
Sluggo Pocodopiche
 
Posts: n/a
Default Re: What is the "stack"?

Simon wrote:

> Hello,
> Can someone please define the "stack"? As in, "stack-based buffer

overflow".
> Thanks


It's an area in memory where values are pushed.

Think of it as the plate dispenser in a cafeteria. The spring-loaded one
where they put the plates in the top and you take one of the top.

In a mathematical calculation, say 3 + 4, the 3 is pushed onto the
stack. Then the 4. They are taken off and the 7 is pushed on.

Does that help? This is a subject that can get deep fast. Never mind the
heap, which goes with stack.

Sluggo
--
www.stlsec.com

  Reply With Quote
Old 08-20-2003, 10:04 PM   #3
Frame
 
Posts: n/a
Default Re: What is the "stack"?

Simon,

In some programming languages, certain variables have defined space in
memory. Variables declared from procedure are taken from the stack.
The stack is dynamic memory, with no fixed size.

Simon wrote:
> Hello,
> Can someone please define the "stack"? As in, "stack-based buffer overflow".
> Thanks
>
>


  Reply With Quote
Old 08-20-2003, 10:17 PM   #4
Jim Watt
 
Posts: n/a
Default Re: What is the "stack"?

On Wed, 20 Aug 2003 17:04:25 -0400, Frame <>
wrote:

>Simon,
>
>In some programming languages, certain variables have defined space in
>memory. Variables declared from procedure are taken from the stack.
>The stack is dynamic memory, with no fixed size.


Its a hardware feature really, but for a definition searching on
google finds a better explanation than me

http://www.hyperdictionary.com/computing/stack

--
Jim Watt http://www.gibnet.com
  Reply With Quote
Old 08-21-2003, 08:33 AM   #5
David Postill
 
Posts: n/a
Default Re: What is the "stack"?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <I3L0b.28301$>, on Wed, 20 Aug 2003
14:52:43 -0000, "Simon"
<> wrote:

| Hello,
| Can someone please define the "stack"? As in, "stack-based buffer overflow".

http://www.pcwebopedia.com/TERM/s/stack.html

http://foldoc.doc.ic.ac.uk/foldoc/fo...&action=Search

http://info.astrian.net/jargon/terms...the_stack.html

<davidp />

- --
David Postill

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2 - not licensed for commercial use: www.pgp.com
Comment: Get key from pgpkeys.mit.edu:11370

iQA/AwUBP0Ppz3xp7q1nhFwUEQKdngCdFxK39EHdPc7xI9gYOY/TcU1YZAUAnRQ4
gWBalWYJNYZr0CLmpcJdKQuh
=WQIz
-----END PGP SIGNATURE-----

  Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump