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
Input validation errors in pyMsplinkOpen have a code path that does not call free(mspDevice.devname).
pyMsplinkOpen
free(mspDevice.devname)
python-msptools/msplink/msplink.c
Line 260 in e9255b6
Proposed solution: Move the mspversion and read_retries validation before malloc().
mspversion
read_retries
malloc()
The text was updated successfully, but these errors were encountered:
daniel214
No branches or pull requests
Input validation errors in
pyMsplinkOpen
have a code path that does not callfree(mspDevice.devname)
.python-msptools/msplink/msplink.c
Line 260 in e9255b6
Proposed solution: Move the
mspversion
andread_retries
validation beforemalloc()
.The text was updated successfully, but these errors were encountered: