crunchy-proxy icon indicating copy to clipboard operation
crunchy-proxy copied to clipboard

test - invalid inputs

Open jmccormick2001 opened this issue 9 years ago • 2 comments

jmccormick2001 avatar Dec 19 '16 15:12 jmccormick2001

Here are a few starter examples for invalid inputs that should be caught, or at least result in a clean shutdown rather than a crash:

  • Zero and/or negative numbers for parts of the protocol message that are normally small positive numbers.
  • Zero length annotation.
  • Connect via an unsupported protocol.
  • Incoming packets that are too short and end in the middle of the protocol conversation. (Eventually this idea leads to complicaated fuzz testing, but a couple of hard coded short malformed messages would be fine to get started)
  • Passing Unicode or similar non-ASCII text, to the extent that is supported in the protocol itself.

gregscds avatar Jan 20 '17 00:01 gregscds

thanks Greg!

jmccormick2001 avatar Jan 20 '17 15:01 jmccormick2001