Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #385874

"stack smashing detected"

Date 2024-06-12 17:19 -0400
Newsgroups comp.lang.c
From DFS <nospam@dfs.com>
Subject "stack smashing detected"
Message-ID <666a10d3$0$973$882e4bbb@reader.netnews.com> (permalink)

Show all headers | View raw


Same C program I just made a post about 'undefined behavior' on.

I just noticed I get "stack smashing detected" only when I run the 
program using a dataset of 75+ consecutive integers.

set of 2 to 74 consecutive values: no problem.
set of random values of any size: no problem.
75+ consecutive values: problem

Any easy way to find out what's causing this issue (probably a buffer 
overflow)?

Back to comp.lang.c | Previous | NextNext in thread | Find similar


Thread

"stack smashing detected" DFS <nospam@dfs.com> - 2024-06-12 17:19 -0400
  Re: "stack smashing detected" Ben Bacarisse <ben@bsb.me.uk> - 2024-06-13 00:36 +0100
    Re: "stack smashing detected" DFS <nospam@dfs.com> - 2024-06-12 20:29 -0400
      Re: "stack smashing detected" Ben Bacarisse <ben@bsb.me.uk> - 2024-06-13 09:54 +0100
        Re: "stack smashing detected" Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2024-06-13 10:32 +0100
          Re: "stack smashing detected" Kaz Kylheku <643-408-1753@kylheku.com> - 2024-06-14 04:06 +0000

csiph-web