Skip to content
New issue

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

fix potential null pointer deref found by coverity #190

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

chipitsine
Copy link
Contributor

CID 442541: (#2 of 2): Explicit null dereferenced (FORWARD_NULL)
7. var_deref_model: Passing null pointer buf to SQLGetPrivateProfileString, which dereferences it. [Note: The source code implementation of the function has been overridden by a builtin model.] CID 442541:(#1 of 2):Explicit null dereferenced (FORWARD_NULL) [ "select issue" ]
645 ret = SQLGetPrivateProfileString( sect, entry, def, buf, cbRetBuffer, name );

CID 442541: (lurcher#2 of 2): Explicit null dereferenced (FORWARD_NULL)
7. var_deref_model: Passing null pointer buf to SQLGetPrivateProfileString, which dereferences it. [Note: The source code implementation of the function has been overridden by a builtin model.]
      CID 442541:(lurcher#1 of 2):Explicit null dereferenced (FORWARD_NULL) [ "select issue" ]
645        ret = SQLGetPrivateProfileString( sect, entry, def, buf, cbRetBuffer, name );
@lurcher lurcher merged commit 9a34643 into lurcher:master Oct 7, 2024
@chipitsine chipitsine deleted the cf9 branch October 7, 2024 07:54
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