Displaying 1 result from an estimated 1 matches for "buffer_h".
Did you mean:
buffer_t
2004 Jul 14
1
New dynamic window patch (with limits)
...newlen);
buffer->buf = xrealloc(buffer->buf, newlen);
diff -u openssh-3.8.1p1/buffer.h openssh-3.8.1p1-dynwindow/buffer.h
--- openssh-3.8.1p1/buffer.h 2002-03-04 20:53:04.000000000 -0500
+++ openssh-3.8.1p1-dynwindow/buffer.h 2004-07-08 07:26:13.000000000 -0400
@@ -16,13 +16,18 @@
#ifndef BUFFER_H
#define BUFFER_H
+#define MAXBUFSZ (2<<29)-1
+
typedef struct {
u_char *buf; /* Buffer for data. */
u_int alloc; /* Number of bytes allocated for data. */
u_int offset; /* Offset of first byte containing data. */
u_int end; /* Offset of last byte containing data. */
+ u_int...