Analysis of page jump overflow caused by input box input exceeding the maximum allowable value

Common verification points for input boxes:

Special characters, long characters, negative values, 0 values, null, and very large values.

If the test subject is time, pay attention to special points: 1970/01/01, February 29

Phenomenon: Enter 9999999999 (10 9s) in the input box, and the page crashes directly

Analysis: It took a long time to find the critical value crash interface through the 2-point method. Finally, it was determined that the critical value 4294967295 is 2 to the 32nd power -1 in the computer, the int32 type used for development, and the development does any processing on the out-of-range values, resulting in Page overflow

 

Guess you like

Origin blog.csdn.net/weixin_45131345/article/details/106859377