home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 32548 
 Deucе to GitLab issue in main/sbbs 
 iniReadFile() can read lines one charact 
 04 Oct 25 23:47:53 
 
TZUTC: -0700
MSGID: 58673.sync_sys@1:103/705 2d482fca
PID: Synchronet 3.21a-Linux master/88b423313 Sep 29 2025 GCC 12.2.0
TID: SBBSecho 3.30-Linux master/88b423313 Sep 29 2025 GCC 12.2.0
BBSID: VERT
CHRS: UTF-8 4
FORMAT: flowed
reopen https://gitlab.synchro.net/main/sbbs/-/issues/982

Here: https://gitlab.synchro.net/main/sbbs/-/blob/master/src/xpd
v/ini_file.c#L2962

iniReadFile() passes INI_MAX_LINE_LEN as the max line length to 
trListReadFile(), which results in list having lines up to INI_MAX_LINE_LEN
bytes long in it, but INI_MAX_LINE_LEN is documented as including the NUL. The
strListReadFile() argument does not include space for the NUL, which is added
to the malloc() and fgets() arguments.
--- SBBSecho 3.30-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 10/0 1 102/401 103/1 13 17 705 105/81 106/201 124/5016 128/187
SEEN-BY: 129/14 153/7715 154/110 214/22 218/0 1 215 601 610 700 840
SEEN-BY: 218/860 880 226/30 227/114 229/110 206 317 400 426 428 470
SEEN-BY: 229/700 705 266/512 280/464 291/111 301/1 320/219 322/757
SEEN-BY: 342/200 396/45 460/58 633/280 712/848 902/26 5075/35
PATH: 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca