aboutsummaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 20:46:06 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-07-18 20:46:06 +0000
commitcc1d3998d2edee5d69c07d5e0a750d7e47f5564d (patch)
tree1afa7014cf120c9b72223dba0a480cdbf4c5927f /buffer.c
parentFixed format string issue in read_inline_file, (diff)
downloadopenvpn-cc1d3998d2edee5d69c07d5e0a750d7e47f5564d.tar.xz
Reverted some recent buffer.[ch] changes, including r3058 (except for
likely() and unlikely() macro additions to syshead.h) and r3061. I would like to give more thought to the bigger issue of fortifying buffer.[ch] through the use of additional defensive programming techniques. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3081 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index c71cd86..8febc91 100644
--- a/buffer.c
+++ b/buffer.c
@@ -64,7 +64,6 @@ alloc_buf_gc (size_t size, struct gc_arena *gc)
#endif
{
struct buffer buf;
- ASSERT (size <= BUF_MAX);
buf.capacity = (int)size;
buf.offset = 0;
buf.len = 0;