...
This noncompliant code example uses a generic method for reading in integer data without considering the signedness of the source. It assumes that the values read are always signed and treats the most significant bit (MSB) as the sign bit. When the data being read is unsigned, this causes misinterpretations of the actual sign and magnitude of the value.
...