• src/syncdraw/load.c

    From rswindell@VERT to CVS commit on Sunday, November 11, 2018 22:28:00
    src/syncdraw load.c 1.6 1.7
    Update of /cvsroot/sbbs/src/syncdraw
    In directory cvs:/home/rswindell/sbbs/src/syncdraw

    Modified Files:
    load.c
    Log Message:
    Attempt to address crash (segfault) reported by ragnarok, maybe
    buffer overflow caused by long-filenames (?) :

    Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff0be5700 (LWP 31102)]
    strlen () at ../sysdeps/x86_64/strlen.S:106
    106../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
    (gdb) bt
    #0 strlen () at ../sysdeps/x86_64/strlen.S:106
    #1 0x00007ffff6f10da8 in _IO_vfprintf_internal (s=s@entry=0x7ffff0bc2230, format=<optimized out>, format@entry=0x55555558ec5c "%-12s ",
    ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
    #2 0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a", format=0x55555558ec5c "%-12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
    #3 0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=31, fmat=0x55555558ec5c "%-12s ") at miscfunctions.c:560
    #4 0x000055555555e332 in load () at load.c:796



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, May 23, 2021 05:37:15
    https://gitlab.synchro.net/main/sbbs/-/commit/20d67375336064d6c3e7d0f0
    Modified Files:
    src/syncdraw/load.c
    Log Message:
    Treat .msg files the same as .asc when loading.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net