Bug#941326: bug 941326

Gary gary at catalyst.net.nz
Wed Jul 29 05:18:04 BST 2020


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200729/51a866fd/attachment.sig>


More information about the pkg-perl-maintainers mailing list