[pkg-lynx-maint] Bug#1119084: lynx: segfault on attempt to submit a form

Thorsten Glaser tg at mirbsd.de
Sun Oct 26 23:35:43 GMT 2025


On Sun, 26 Oct 2025, Thomas Dickey wrote:

>I need more detail to see how to exercise this.  #23 appears to be the

I can imagine… I needed to repro this on a non-classified box first.

>just gives me
>	Edit the form's submit-URL:

I sometimes got that as well, but I got it now in a chroot.

I go to the URL, press PgDn once (34 line high terminal)
and just :submit without even checking it. (That’s the
checkbox below Du machst dir Gedanken über deine Bedrohungslage)

1549                    *result = pfi->data;
(gdb) bt
#0  MakeFormAction (given=0x555555d8ac38, submit=submit at entry=1) at ../../src/LYMainLoop.c:1549
#1  0x00005555555e2f9e in handle_LYK_SUBMIT (cur=<optimized out>, 
    refresh_screen=refresh_screen at entry=0x7fffffffddba "", doc=0x55555574f460 <newdoc>)
    at ../../src/LYMainLoop.c:1567
#2  0x00005555555e98f8 in mainloop () at ../../src/LYMainLoop.c:7478
#3  0x00005555555af78e in main (argc=<optimized out>, argv=<optimized out>) at ../../src/LYMain.c:2261
(gdb) print pfi
$1 = (PerFormInfo *) 0x0

I suspect what happens here is that that is a JS-only form
so some structure is not initialised, and this lacks a nil
pointer check. (Trying to submit outside of that form does
correctly show an error message about that.)



More information about the pkg-lynx-maint mailing list