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
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
suspicious_sizeof: Passing argument (cblklen(v) + 1) * 8UL /* sizeof (char **) */ to function malloc and then casting the return value to char ** is suspicious. In this particular case sizeof (char **) happens to be equal to sizeof (char *), but this is not a portable assumption.
Did you intend to use sizeof (char *) instead of sizeof (char **)?
While the program behaves correctly on the current processor architecture, it relies on potentially non-portable assumptions about type sizes. In cloneblk: The sizeof operator is used on a wrong argument that incidentally has the same size (CWE-467)
The text was updated successfully, but these errors were encountered:
ftp/glob.c#L719
While the program behaves correctly on the current processor architecture, it relies on potentially non-portable assumptions about type sizes. In
cloneblk
: The sizeof operator is used on a wrong argument that incidentally has the same size (CWE-467)The text was updated successfully, but these errors were encountered: