BBS:      TELESC.NET.BR
Assunto:  src/conio/sdl_con.c src/syncterm/bbslist.c
De:       Deuc¨
Data:     Tue, 17 Mar 2026 11:59:17 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/17028aefe6b834313874fcbf
Modified Files:
	src/conio/sdl_con.c src/syncterm/bbslist.c
Log Message:
Bounds-check settings.defaultCursor and NULL-check do_scale()

Clamp defaultCursor index before indexing cursor_descrs[] in
change_settings() display loop  a corrupt or hand-edited INI could
cause an out-of-bounds read. (Coverity CID 501973)

Add missing NULL check on do_scale() return in SDL backend to prevent
a NULL pointer dereference on allocation failure.

Co-Authored-By: Claude Opus 4.6 (1M context) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]