~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tighten up a lot of casts from unsigned to int which are read by one
[sgt/putty]
/
sshdss.c
diff --git
a/sshdss.c
b/sshdss.c
index
1f15cee
..
0484c44
100644
(file)
--- a/
sshdss.c
+++ b/
sshdss.c
@@
-42,7
+42,7
@@
static void getstring(char **data, int *datalen, char **p, int *length)
*p = NULL;
if (*datalen < 4)
return;
- *length =
GET_32BIT(*data
);
+ *length =
toint(GET_32BIT(*data)
);
if (*length < 0)
return;
*datalen -= 4;