[screen-devel] [bug #66147] screen crashes in attacher.c:465 when compiled with FORTIFY_SOURCE=3

2024-09-05 Thread anonymous
Follow-up Comment #2, bug #66147 (group screen): strncpy(p, *av, ARRAY_SIZE(p) - 1) doesn't do what you're expecting. For char* p, the value of ARRAY_SIZE(p) is constant, i.e. on 64 bit platforms it is 8. An alternate fix would be to replace the offending strncpy(p, *av, MAXPATHLEN); with strcpy(

[screen-devel] [bug #45880] Update manual on official page

2024-09-05 Thread Alexander Naumov
Update of bug #45880 (group screen): Status: Confirmed => Fixed Open/Closed:Open => Closed Release:None => 5.0.0 Fixed Release:

[screen-devel] screen/manual index.html screen.dvi.gz screen.h...

2024-09-05 Thread Alexander Naumov
CVSROOT:/web/screen Module name:screen Changes by: Alexander Naumov 24/09/05 04:37:35 Modified files: manual : index.html screen.dvi.gz screen.html screen.html.gz screen.html_node.tar.gz screen.info.tar.gz sc

[screen-devel] [bug #66147] screen crashes in attacher.c:465 when compiled with FORTIFY_SOURCE=3

2024-09-05 Thread anonymous
Follow-up Comment #3, bug #66147 (group screen): Good point! As you mentioned, the ARRAY_SIZE macro will try to find the size of the pointer to the array of unknown length, and will devolve to simply the size of the pointer over the size of a char (8/1). Upon further examination, the code change