mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Fix more ASAN errors
This commit is contained in:
parent
c6ead6e973
commit
d2bc5e0454
@ -110,8 +110,7 @@ static JSON_Parser_HandlerResult JSON_CALL StringHandler(
|
|||||||
{
|
{
|
||||||
if (pCtx->cur_field)
|
if (pCtx->cur_field)
|
||||||
{
|
{
|
||||||
if (!string_is_empty(pCtx->cur_field) &&
|
if (string_is_equal(pCtx->cur_field, "game_crc"))
|
||||||
string_is_equal_fast(pCtx->cur_field, "game_crc", 8))
|
|
||||||
{
|
{
|
||||||
/* CRC comes in as a string but it is stored
|
/* CRC comes in as a string but it is stored
|
||||||
* as an unsigned casted to int. */
|
* as an unsigned casted to int. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user