Testing Techniques to Find the Sin

If the input is character strings, try feeding the application sizes that tend to cause errors. For example, strings that are 64K or 64K1 bytes long can often cause problems. Other common problem lengths are 127, 128, and 255, as well as just on either side of 32K. Any time that adding one to a number results in either changing sign or flipping back to zero, you have a good test case.

In the cases where youre allowed to feed the programmer numbers directlyone example would be a structured documenttry making the numbers arbitrarily large, and especially hit the corner cases.



19 Deadly Sins of Software Security. Programming Flaws and How to Fix Them
Writing Secure Code
ISBN: 71626751
EAN: 2147483647
Year: 2003
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net