National Institute of Standards and Technology
Package illustrating a test case

Test case 108

Description

snprintf is used repeatedly while keeping track of the residual buffer length, however an accounting error allows a stack buffer to be overrun.
PLOVER: BUFF.OVER, BUFF.LENCALC

Flaws

Have any comments on this test case? Please, send us an email.