diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-03-31 10:22:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-03-31 10:22:42 +0200 |
commit | 0ee0d30a9f0450144d60ea906987d69ddb808da4 (patch) | |
tree | f0314e16909a0b3a7f25e692866d920565edfcd2 /lib/strdup.c | |
parent | 541027876d9fc82792803326a1dc112c1a65398c (diff) |
SOCKS5_gssapi_negotiate: don't assume little-endian ints
The code copied one byte from a 32bit integer, which works fine as long
as the byte order is the same. Not a fine assumption. Reported by PVS
Studio.
Reported-by: Alexis La Goutte
Diffstat (limited to 'lib/strdup.c')
0 files changed, 0 insertions, 0 deletions