FreeRDP/channels/cliprdr/client
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
..
cliprdr_format.c channels/cliprdr: avoid possible integer overflow 2017-06-01 16:05:07 +03:00
cliprdr_format.h Remove WIN32ERROR type 2015-08-27 05:38:20 -07:00
cliprdr_main.c channels/cliprdr: fix CLIPRDR_FILECONTENTS_RESPONSE 2017-04-09 03:15:49 +03:00
cliprdr_main.h cliprdr: using new VirtualChannelEx api 2016-11-22 02:33:23 -08:00
CMakeLists.txt cliprdr: using new VirtualChannelEx api 2016-11-22 02:33:23 -08:00