Skip to content

fix several nullptr deref crashes#65

Open
sapphonie wants to merge 2 commits intoAnAkkk:publicfrom
sapphonie:fixnullptr-addsyms
Open

fix several nullptr deref crashes#65
sapphonie wants to merge 2 commits intoAnAkkk:publicfrom
sapphonie:fixnullptr-addsyms

Conversation

@sapphonie
Copy link
Contributor

also, compile with debug syms so we can fix some more

}

const char *cmd = args.Arg(0);
if (!cmd || strlen(cmd) < 1)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you not be checking args.ArgC() instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants