• src/syncdraw/load.c

    From rswindell@VERT to CVS commit on Sunday, November 11, 2018 14:28:37
    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 Saturday, May 22, 2021 22: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
  • From Deuc¨@VERT to Git commit to main/sbbs/master on Wednesday, February 21, 2024 07:20:30
    https://gitlab.synchro.net/main/sbbs/-/commit/799970d037d697f1e34d668d
    Modified Files:
    src/syncdraw/load.c
    Log Message:
    Remove apparently unused errno declaration.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, April 14, 2024 20:57:49
    https://gitlab.synchro.net/main/sbbs/-/commit/3bca2420ea5657a72d67708d
    Modified Files:
    src/syncdraw/load.c
    Log Message:
    Fix potential buffer overflow some long ANSI sequences

    Increase ansicode[] buffer size from 20 to 200 bytes due to this observed
    crash when attempting to load an ANS file saved from PabloDraw:

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