- markus@cvs.openbsd.org 2002/10/23 10:32:13
[packet.c]
use %u for u_int
+ - markus@cvs.openbsd.org 2002/10/23 10:40:16
+ [bufaux.c]
+ %u for u_int
20021021
- (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from
*/
#include "includes.h"
-RCSID("$OpenBSD: bufaux.c,v 1.27 2002/06/26 08:53:12 markus Exp $");
+RCSID("$OpenBSD: bufaux.c,v 1.28 2002/10/23 10:40:16 markus Exp $");
#include <openssl/bn.h>
#include "bufaux.h"
/* Get the length. */
len = buffer_get_int(buffer);
if (len > 256 * 1024)
- fatal("buffer_get_string: bad string length %d", len);
+ fatal("buffer_get_string: bad string length %u", len);
/* Allocate space for the string. Add one byte for a null character. */
value = xmalloc(len + 1);
/* Get the string. */