parent
0cc2a47674
commit
ee844912c9
|
@ -6,6 +6,9 @@
|
||||||
- markus@cvs.openbsd.org 2002/10/23 10:32:13
|
- markus@cvs.openbsd.org 2002/10/23 10:32:13
|
||||||
[packet.c]
|
[packet.c]
|
||||||
use %u for u_int
|
use %u for u_int
|
||||||
|
- markus@cvs.openbsd.org 2002/10/23 10:40:16
|
||||||
|
[bufaux.c]
|
||||||
|
%u for u_int
|
||||||
|
|
||||||
20021021
|
20021021
|
||||||
- (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from
|
- (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from
|
||||||
|
@ -783,4 +786,4 @@
|
||||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
ok provos@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2501 2002/11/09 15:41:39 mouring Exp $
|
$Id: ChangeLog,v 1.2502 2002/11/09 15:43:23 mouring Exp $
|
||||||
|
|
4
bufaux.c
4
bufaux.c
|
@ -37,7 +37,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 <openssl/bn.h>
|
||||||
#include "bufaux.h"
|
#include "bufaux.h"
|
||||||
|
@ -225,7 +225,7 @@ buffer_get_string(Buffer *buffer, u_int *length_ptr)
|
||||||
/* Get the length. */
|
/* Get the length. */
|
||||||
len = buffer_get_int(buffer);
|
len = buffer_get_int(buffer);
|
||||||
if (len > 256 * 1024)
|
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. */
|
/* Allocate space for the string. Add one byte for a null character. */
|
||||||
value = xmalloc(len + 1);
|
value = xmalloc(len + 1);
|
||||||
/* Get the string. */
|
/* Get the string. */
|
||||||
|
|
Loading…
Reference in New Issue