Running under gdb get:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff76637da in _rl_update_final () at ../display.c:2972
2972      botline_length = VIS_LLEN(_rl_vis_botlin) - woff;
$2 = (struct line_state *) 0x7ffff7685640 <line_state_array>
(gdb) p line_state_visible->lbreaks
$3 = (int *) 0x0
(gdb)

VIS_LLEN is defined as:

 #define VIS_LLEN(l)     ((l) > _rl_vis_botlin ? 0 : (vis_lbreaks[l+1] -
vis_lbreaks[l]))

and vis_lbreaks as
#define vis_lbreaks     (line_state_visible->lbreaks)

So attempting to dereference an NULL pointer


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to