[CP] Fix core caused by out-of-bounds access to the question mark name array
This commit is contained in:
@ -64,6 +64,8 @@ int parse_reset(ParseResult* p)
|
||||
p->question_mark_ctx_.count_ = 0;
|
||||
p->question_mark_ctx_.by_ordinal_ = false;
|
||||
p->question_mark_ctx_.by_name_ = false;
|
||||
p->question_mark_ctx_.name_ = NULL;
|
||||
p->question_mark_ctx_.capacity_ = 0;
|
||||
p->sql_mode_ = 0;
|
||||
|
||||
p->has_encount_comment_ = false;
|
||||
|
||||
Reference in New Issue
Block a user