Sujet : "stack smashing detected"
De : nospam (at) *nospam* dfs.com (DFS)
Groupes : comp.lang.cDate : 12. Jun 2024, 22:19:16
Autres entêtes
Message-ID : <666a10d3$0$973$882e4bbb@reader.netnews.com>
User-Agent : Betterbird (Windows)
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)?