Return to bufaux.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.56, 2014/02/02 03:44:31 | version 1.57, 2014/04/16 23:22:45 | ||
---|---|---|---|
|
|
||
if (l > 8 * 1024) | if (l > 8 * 1024) | ||
fatal("%s: length %u too long", __func__, l); | fatal("%s: length %u too long", __func__, l); | ||
/* Skip leading zero bytes */ | |||
for (; l > 0 && *s == 0; l--, s++) | |||
; | |||
p = buf = xmalloc(l + 1); | p = buf = xmalloc(l + 1); | ||
/* | /* | ||
* If most significant bit is set then prepend a zero byte to | * If most significant bit is set then prepend a zero byte to |