bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segment fault in tic


From: Thomas Dickey
Subject: Re: Segment fault in tic
Date: Sun, 23 Apr 2023 19:52:25 -0400

On Sun, Apr 23, 2023 at 07:48:11PM -0400, Thomas Dickey wrote:
> On Sun, Apr 23, 2023 at 10:32:39PM +0200, Ziqiao Kong wrote:
> > Hello,
> > 
> > Our fuzzer finds a segment fault for tic.

(_not_ a "segment fault").

man abort:

NAME
       abort - cause abnormal process termination

SYNOPSIS
       #include <stdlib.h>

       void abort(void);

DESCRIPTION
       The abort() function first unblocks the SIGABRT signal, and then raises
       that signal for the calling process (as though  raise(3)  was  called).
       This  results  in  the  abnormal  termination of the process unless the
       SIGABRT signal is caught and the signal handler does  not  return  (see
       longjmp(3)).

> > 
> > Steps to reproduce:
> > 
> > ```
> > wget -c 
> > "https://invisible-island.net/archives/ncurses/current/ncurses-6.4-20230418.tgz";
> > tar xf ncurses-6.4-20230418.tgz
> > cd ncurses-6.4-20230418
> > ./configure --enable-debug && make -j
>               ^^^^^^^^^^^^^^
> The core dump is intentional for the debug configuration.
> 
> (if you're not in the debugger, you'll see the error message printed
> right before that).
> 
> -- 
> Thomas E. Dickey <dickey@invisible-island.net>
> https://invisible-island.net



-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]