libcue icon indicating copy to clipboard operation
libcue copied to clipboard

Change null pointer check order in cd_get_track

Open spencerwuwu opened this issue 6 months ago • 0 comments

The check of whether cd is NULL should come before accessing cd->ntrack, otherwise a program will still crash with a null pointer.

spencerwuwu avatar Aug 23 '24 16:08 spencerwuwu