Skip to content

In-depth lesson · Memory corruption

Reports behind this point

The length validation used a greater-than comparison against the maximum path length instead of greater-than-or-equal, so an exactly maximum-length name or path passed and the null terminator landed past the buffer.