malloc(0) crashing with SIGABRT
Ken Brown
kbrown@cornell.edu
Fri Sep 13 13:21:00 GMT 2019
On 9/13/2019 3:38 AM, Petr SkoÄÃk wrote:
> On 9/12/19 6:12 PM, Ken Brown wrote:
>> gcc -Wall -o malloc_zero malloc_zero.c
>
> My apologies. It was my own stupid mistake.
>
> (
> I had
>
> gcc -include stdlib.h -xc - <<<'int main(){ }' && ./a.out; echo $?
>
> where I would normally run $aout which in my shell setup is
> a.exe on cygwin and a.out elsewhere, but this time I accidentally
> typed a.out and I happened to have a Linux a.out there and that
> was causing the crash.
> )
No problem. I'm glad to hear there's no Cygwin issue.
Ken
BKCBØ[H\ÜÎËØÞYÝÚ[ÛÛKÜØ[\Ë[BTNËØÞYÝÚ[ÛÛKÙ\KÃBØÝ[Y[][ÛËØÞYÝÚ[ÛÛKÙØÜË[B[ÝXØÜXH[ÎËØÞYÝÚ[ÛÛKÛ[ÈÝ[ÝXØÜXK\Ú[\CBB
More information about the Cygwin
mailing list