home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 32543 
 Deucе to GitLab issue in main/sbbs 
 iniReadFile() can read lines one charact 
 04 Oct 25 21:45:52 
 
TZUTC: -0700
MSGID: 58668.sync_sys@1:103/705 2d48132c
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
open 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: 103/13 705 105/81 106/201 124/5016 128/187 129/14 153/757
SEEN-BY: 153/7715 154/10 30 110 203/0 218/700 221/0 226/30 227/114
SEEN-BY: 229/110 206 317 400 426 428 470 700 705 240/1120 5832 263/1
SEEN-BY: 266/512 280/464 5003 5006 291/111 292/8125 301/1 320/219
SEEN-BY: 322/757 341/66 234 342/200 396/45 423/120 460/58 467/888
SEEN-BY: 633/267 280 384 410 414 418 420 422 2744 712/848 770/1 902/26
SEEN-BY: 5020/400 5075/35
PATH: 103/705 280/464 633/280 229/426


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

(c) 1994,  bbs@darkrealms.ca