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
Add verifier stop check for registry query where the input size does not match expected type size. For example, if a DWORD/QWORD is expected to be returned from a registry call and the develop did not provide a buffer of 4/8 bytes the developer might have a programing error.
if ((type==REG_DWORD) &&inputLength&& (inputLength!=sizeof(DWORD)))
{
// raise a verifier stop, developer is likely using an errant pattern
}
The text was updated successfully, but these errors were encountered:
jxy-s
changed the title
Verifier stop check for registry query where the input size does not match expected type size
Verifier stop check for registry query input side vs type mismatch
Aug 19, 2024
jxy-s
changed the title
Verifier stop check for registry query input side vs type mismatch
Verifier stop check for registry query input size vs type mismatch
Aug 19, 2024
Add verifier stop check for registry query where the input size does not match expected type size. For example, if a
DWORD
/QWORD
is expected to be returned from a registry call and the develop did not provide a buffer of4
/8
bytes the developer might have a programing error.The text was updated successfully, but these errors were encountered: