You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have developed an automatic vulnerability detector, and it has identified a potential defect in your open source project. Here are the details:
File: string.c Line Number: 27 Method/Function: format
Description of the Issue: My tool detected a potential null dereference bug in the above-mentioned location. This could potentially lead to undefined behavior of vfprintf function.
Hello,
We have developed an automatic vulnerability detector, and it has identified a potential defect in your open source project. Here are the details:
File: string.c Line Number: 27 Method/Function: format
Description of the Issue: My tool detected a potential null dereference bug in the above-mentioned location. This could potentially lead to undefined behavior of
vfprintf
function.Here is the relevant code snippet:
Suggested Fix: add a if statement to handle the situation that
open_memstream
fails and return aNULL
value.I hope this helps improve the project!
Best, xyzxyzaabbcc
The text was updated successfully, but these errors were encountered: