We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vector_push_back null crash in vector_destroy
vector_t *pvec_charptr = create_vector(char *); vector_init(pvec_charptr); char *p; char *q = NULL; vector_push_back(pvec_charptr, p); vector_push_back(pvec_charptr, q); vector_destroy(pvec_charptr);
The text was updated successfully, but these errors were encountered:
vector: cstl_basic_string_private.c:254: _basic_string_destroy_auxiliary: Assertion `_basic_string_is_inited(pt_basic_string) || _basic_string_is_created(pt_basic_string)' failed. Aborted
这里应该不做校验, vector<char*> 存的指针, 应该可以为空
Sorry, something went wrong.
No branches or pull requests
vector_push_back null crash in vector_destroy
The text was updated successfully, but these errors were encountered: