Closed stefandrissen closed 2 years ago
That's definitely a FP. I'll double-check the exclusion rules.
Another, which is using a full dll name, is also being flagged:
PROCEDURE gethostname EXTERNAL "wsock32.dll".
DEFINE OUTPUT PARAMETER p-Hostname AS CHARACTER.
DEFINE INPUT PARAMETER p-Length AS LONG.
DEFINE RETURN PARAMETER p-Return AS LONG.
END PROCEDURE.
And another:
PROCEDURE HttpSendRequestA EXTERNAL "wininet.dll".
DEFINE INPUT PARAMETER hRequest AS LONG.
DEFINE INPUT PARAMETER lpszHeaders AS CHARACTER.
DEFINE INPUT PARAMETER dwHeadersLength AS LONG.
DEFINE INPUT PARAMETER lpOptional AS {&POINTER}.
DEFINE INPUT PARAMETER dwOptionalLength AS LONG.
The default value now includes a longer list of libraries. Note that you can modify the list directly in the quality profile.
Is flagged, even though the rule description states:
Is this a result of the external not having an extension? (this code has been working fine since the previous millennium).