summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-11-13 23:16:50 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-11-13 23:16:50 +0800
commit15ea6d1106c08deafc1a16788c03155c2efff524 (patch)
tree284fba2f6b3b437341266ed3a86bb1ed9c0522d9
parent24cfda9e3c4257fa015963d7a0cf697270f37921 (diff)
Remove accidentally committed abort()
-rw-r--r--buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 1397519..fee41d6 100644
--- a/buffer.c
+++ b/buffer.c
@@ -188,7 +188,6 @@ unsigned char* buf_getptr(const buffer* buf, unsigned int len) {
unsigned char* buf_getwriteptr(const buffer* buf, unsigned int len) {
if (len > BUF_MAX_INCR || buf->pos + len > buf->size) {
- abort();
dropbear_exit("Bad buf_getwriteptr");
}
return &buf->data[buf->pos];