Files
8ea3ff99b4 menu: content info no longer dereferences a NULL content path (#19738)
* menu: content info no longer dereferences a NULL content path

menu_displaylist_parse_content_information builds the Path line with
`*content_path ? content_path : "N/A"`. content_path comes from the
playlist entry, which can have no path. The block above already guards
the contentless case with `!content_path || !*content_path`, but a
core that needs content still reaches the Path line with NULL. Test
for NULL before the first byte, as the label code does.

Tests: none run; no harness links menu_displaylist.c. RetroArch builds
with the change and the file compiles without warnings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* menu_playlist_nav: content information for a playlist entry with no path

A lane loads a playlist whose one entry has a label and a core but no
path, selects it and builds its Information screen through the real
menu_displaylist_ctl: the Path row reads Not Available.

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: LibretroAdmin <[email protected]>
2026-10-08 16:49:27 +02:00
..