Chromium, Memset, Open Source, Cpp, Bug Fixes.
memset(_jumpBuf, 0, kMaxDriftJumpCount); memset(_driftBuf, 0, kMaxDriftJumpCount); } Here only the first element of the array is set to null, and one byte in the second element. PVS-Studio warning: V512 CWE-682 A call of the ‘memset’ function will lead to underflow of the buffer ‘_jumpBuf’.