-
-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Labels
fuzzingIntentional illegal inputIntentional illegal inputgood first issueGood for newcomersGood for newcomers
Description
In Commit 119ef50, encode_preR13_section in src/encode.c was added a pointer check before dereference _obj->name to prevent null pointer dereference.
However, json_tables_write in src/out_json.c contains a similar logic flaw
if (strEQc (_obj->name, "*MODEL_SPACE"))
{
LOG_TRACE ("Skip *MODEL_SPACE\n");
continue;
}Would it make sense to fix it in the same way as 119ef50 did by adding a null pointer check?
Thank you for spending time reading this issue, apologies if I missed anything.
Metadata
Metadata
Assignees
Labels
fuzzingIntentional illegal inputIntentional illegal inputgood first issueGood for newcomersGood for newcomers