Skip to content

Fix file browser overflow and gba-db builder - #281

Open
tasken wants to merge 1 commit into
profi200:masterfrom
tasken:fix/bugs
Open

Fix file browser overflow and gba-db builder#281
tasken wants to merge 1 commit into
profi200:masterfrom
tasken:fix/bugs

Conversation

@tasken

@tasken tasken commented May 18, 2026

Copy link
Copy Markdown

What changed

  • The file browser had a bug where long folder paths could overflow a buffer. Now it checks how much space is left before copying.
  • The gba-db builder script crashed on some entries from the No-Intro DAT because it tried to encode the wrong thing. Fixed.
  • Regenerated gba_db.bin with current sources.

…generate database

Fix safeStrcpy in filebrowser to use remaining buffer space (512 - pathLen)
instead of hardcoded 256 which could overflow curDir. Fix gba-db.py DatData
to use serial.text.encode() instead of serial.encode(). Regenerate gba_db.bin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant