Qt-Security-QDataStreamOperatorReadΒΆ

Check read operator (>>) for QDataStream

Required inputs: IR

The QDataStream::operator>>() operator reads data from a QDataStream. This operator should be used with caution, as it may not properly sanitize the input data. When using this operator for reading data from untrusted sources, e.g., from a network connection or a file, this operator may allow attackers to execute arbitrary code on the system. Hence, this operator should only be used if absolutely sure that the input data is trustworthy and safe.

Possible Messages

Key

Text

Severity

Disabled

suspicious_read

Found suspicious call to operator>> of QDataStream.

None

False

Options