FreeRDP/channels/cliprdr
ilammy 75fa3ad2a0 channels/cliprdr: avoid possible integer overflow
If the server sends us garbage (or the client provides it) then it is
possible for the multiplication to overflow (as it is performed on
unsigned 32-bit values) which will result in a false positive failure of
the sanity check. Avoid it by rearranging arithmetics a little.

Keep the multiplication in the error message because we are interested
in the number of bytes in the stream and how it compares to the number
we have expected based on the presumed file count.
2017-06-01 16:05:07 +03:00
..
client channels/cliprdr: avoid possible integer overflow 2017-06-01 16:05:07 +03:00
server fix string format specifiers 2016-12-16 13:48:43 +01:00
ChannelOptions.cmake channels/cliprdr: start server-side implementation 2013-08-16 16:46:47 -04:00
CMakeLists.txt channels/cliprdr: start server-side implementation 2013-08-16 16:46:47 -04:00