Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Storing signed data in a variable of the unsigned type char can lead to misinterpreted data and possibly to memory leaks. Furthermore, comparing a value of type char with -1 never evaluates to true. This error could lead to a denial-of-service attack.

...