Re: why dosent buffer gets overflowed



raashid bhatt wrote:
On Aug 21, 10:45 pm, Richard Heathfield <r...@xxxxxxxxxxxxxxx> wrote:
raashid bhatt said:

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void func(char *p)
{
char i[5];
strcpy(i, p);
Subject line: "why dosent buffer gets overflowed"

What makes you think the buffer isn't being overflowed?
....
i am using a debugger to track EIP but its this program exits nornally

So, why does that make you think that the buffer isn't being overflowed?
.



Relevant Pages

  • Re: Im a C++ programmer, and Relfs X.CPP is good.
    ... void write_path(char* hm_path, char hm_buf); ... void list_contents(int argc, char** argv); ... Makes sure the user has specified an alpha buffer. ...
    (comp.lang.lisp)
  • Re: Im a C++ programmer, and Relfs X.CPP is good.
    ... void write_path(char* hm_path, char hm_buf); ... void list_contents(int argc, char** argv); ... Makes sure the user has specified an alpha buffer. ...
    (comp.unix.programmer)
  • Re: Smallest crypto ever?
    ... void encrypt(char *buffer, int buflen) ... Sure, it's a toy cipher, but the implementation _is_ small.... ...
    (sci.crypt)
  • Re: adapting getline
    ... int main ... // returns a NULL-terminated line, caller should free buffer, ... void *getline ... char *buf = NULL; ...
    (comp.lang.c)
  • Re: I need help please!
    ... [Simple stdin input] ... no '\n' in the input buffer. ... reset_input_mode (void) ... char *name; ...
    (comp.lang.c)