TIP: Click on subject to list as thread! ANSI
echo: mbse
to: Andrew Leary
from: Deon George
date: 2018-10-01 14:53:48
subject: Re: mbse 1.0.7.9

Hey Andrew,

 VC>                 1.  Removed the requirement that incoming .TIC files have
 VC>                 exactly 8 character filenames with the .TIC extension. 

I've just noticed that I received some realy_long_filenames from an upstream,
and because I didnt have the file area defined - mbfido wanted to toss them
into the badtic dir, but couldnt because it had truncated the filename to the
first 12 chars.

? 02-Oct-2018 00:38:30 mbfido[6490] Failed to move
/opt/mbse/data/inbound/1-5_lxk1-en- to /opt/mbse/data/badtic/1-5_lxk1-en-: No
such file or directory

The filename was 1-5_lxk1-en-manual.tic

Issue seems to be around line 230 of mbfido/tic.c

strncpy(TIC.TicName, tfn, 12);

But there also seems to be other cases where strncpy is used to populate a
variable with only 12 chars... (line 376 and 498 - first one might be valid,
but not sure about the second one...

;)

...deon

--- Mystic BBS v1.12 A39 2018/04/21 (Raspberry Pi/32)
* Origin: Chinwag | MysticBBS in Docker! (3:633/509.1)
SEEN-BY: 229/426 633/0 267 280 281 412 509 712/848
@PATH: 633/509 280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.