Mahesh Kumar,

It is array bounds overrrun. You might have declared an array of 'n' size
and obtained more than 'n' which results in stack corruption.

saiganesh

On Fri, Aug 28, 2009 at 6:50 PM, mahesh kumar <[email protected]>wrote:

> hi
> im working on linux open suse platform
>
> while working with c statement i got a problem
> *
> scanf("%s",key);
>
> error: segmentation fault ( at running time)*
>
> here *key is a character array* declared earlier
>
> plz  plz help me out of this bug
>
> regards
> mahesh  a linux aspirant
>

Reply via email to