Files
RetroArch/network
libretroadmin 7f64df9dee discord: heap-allocate the rpc instance, presence slot and queue
Over 200 kilobytes of message buffers sat in bss whether or not
rich presence was ever enabled - eight queued-command slots, the
presence slot and the rpc instance, sixteen kilobytes of buffer
each and more. They now allocate at discord_init and free at
shutdown, with the module's entry points guarded so the pointers
being null outside that window is a defined state rather than a
crash; a per-function audit found four dereference paths needing
the guard and the rest already gated on the rpc-valid flag. Static
data drops half a megabyte together with the drive cache change;
the container build compiles Discord and both validation dumps
stay byte-identical.
2026-07-07 16:30:40 +02:00
..
2026-03-10 22:00:52 -05:00
2026-03-10 22:00:52 -05:00
2026-04-19 16:01:00 -04:00
2022-11-01 21:40:13 +01:00
2024-12-27 05:51:33 +01:00
2023-05-30 21:21:05 +02:00