Date: Mon, 08 Jan 2024 05:28:49 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276194] category/port x11vnc fails with -auth argument Message-ID: <bug-276194-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276194 Bug ID: 276194 Summary: category/port x11vnc fails with -auth argument Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: gdinolt@pacbell.net Attachment #247524 text/plain mime type: Created attachment 247524 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247524&action= =3Dedit Patch file to fix -auth parsing in src/ssltools.h x11vnc fails with -auth argument as follows in x11vnc.log: 06/01/2024 23:12:29 passing arg to libvncserver: -rfbauth 06/01/2024 23:12:29 passing arg to libvncserver: /usr/home/dinolt/.vnc/pass= wd 06/01/2024 23:12:29 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 1525 [: -a: unexpected operator [: -a: unexpected operator 06/01/2024 23:12:30 -auth guess: failed for display=3D':0' This fails with both FreeBSD13.2 p8 (and previous) and FreeBSD14 Stable on AMD64. I have not tried on other hardware or versions of the OS.=20 The failure seems to be in the file src/ssltools.h in the parsing of the -a= uth arg where there is an extra space in the regular expression passed to the s= ed at line 1060. I have attached a patch file to be included in the files directory that seems to fix the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276194-7788>