FreeRDP/channels
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
..
audin Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
client Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
cliprdr channels/cliprdr: avoid possible integer overflow 2017-06-01 16:05:07 +03:00
disp fix string format specifiers 2016-12-16 13:48:43 +01:00
drdynvc Closing dynamic channels on shutdown. 2017-02-15 15:42:14 +01:00
drive Fix memory leaks, Mixed declarations 2017-03-27 11:15:22 -07:00
echo fix string format specifiers 2016-12-16 13:48:43 +01:00
encomsp fix string format specifiers 2016-12-16 13:48:43 +01:00
parallel fix string format specifiers 2016-12-16 13:48:43 +01:00
printer Remove unused variable and check return codes 2017-03-27 10:55:55 -07:00
rail Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
rdpdr Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
rdpei Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
rdpgfx Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
rdpsnd Fixed audio termination code. 2017-01-17 16:06:04 +01:00
remdesk Added attach/detach support for channels. 2016-12-19 17:07:01 +01:00
serial ctest for int format specifiers and usage doc 2016-12-16 14:20:30 +01:00
server rdpgfx: various fixes according to comments 2016-08-07 20:15:39 +08:00
smartcard Scanbuild warning, argument checks and leak fixes. 2017-03-02 18:13:43 +01:00
tsmf Merge pull request #3847 from akallabeth/ffmpeg_define_fix 2017-03-09 11:35:31 +01:00
urbdrc Remove redundant condition 2017-02-02 00:29:37 +05:00
CMakeLists.txt cmake: replaced STATIC_CHANNELS with BUILTIN_CHANNELS 2016-06-15 13:36:27 +02:00