4 ms·
Google reveals a new Windows zero-day bug it says is under active attack
- alyandon 6y ago1: NTSTATUS CfgAdtpFormatPropertyBlock(PBYTE SourceBuffer, USHORT SourceLength, PUNICODE_STRING Destination) { 2: CONST USHORT DestinationSize = (USHORT)(6 * SourceLength); I haven't really touched C or C++ in many years but I'm genuinely curious. Wouldn't most compilers or linting tools issue a warning about potential unsigned arithmetic overflow?