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
Hi @0xceed, I've checked the code and your screenshot, and found that the static analysis tool is wrong.
The static analysis tool assumes that total_space could be < ds->append_data_size. However, it is impossible. When ds->append_data_size > 500, we not only set ds->append_data to NULL, but also set ds->append_data_size to 0. Therefore, total_space should always be >= ds->append_data_size.
File:
arg_dstr.c
Line: 307.
See screenshot attached. Haven't checked if any other static analyser catches this, but still.
The text was updated successfully, but these errors were encountered: