• src/doors/clans-src/src/win_wrappers.c win_wrappers.hsrc/doors/clans-s

    From Deucе@VERT to Git commit to main/sbbs/master on Mon Oct 20 13:50:52 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/ffd641915a052a0c377d1b75
    Added Files:
    src/doors/clans-src/src/win_wrappers.c win_wrappers.h
    Modified Files:
    src/doors/clans-src/src/GNUmakefile alliance.c chew.c clans.c clansini.c cmdline.c cmdline.h config.c door.c ecomp.c empire.c event.c fight.c fight.h game.c help.c ibbs.c input.c install.c interbbs.h items.c langcomp.c language.c language.h mail.c maint.c makenpc.c makepak.c mclass.c mcomp.c menus.c menus2.c menus2.h mitems.c mspells.c myibbs.c myopen.c myopen.h news.c npc.c pawn.c pcedit.c quests.c reg.c reset.c scores.c spells.c structs.h system.c trades.c unix_wrappers.c user.c video.c village.c voting.c
    Log Message:
    Another overhaul... heap and overflows.

    There was a lot of work keeping the stack small in favour of the
    heap due to DOS limitations. Remove the obvious ones.

    Also, replace all use of strcpy, strcat, and sprintf with strlcpy,
    strlcat, and snprintf respectively.

    Finally, use a new macro (PATH_SIZE) for all the static sized paths
    I can find. Set to 512 for now, since that's larger than the largest
    old value, and big enough for me to feel comfortable calling someone
    insane if they run this with a path that long.

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