diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-11-13 23:16:50 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-11-13 23:16:50 +0800 |
commit | 15ea6d1106c08deafc1a16788c03155c2efff524 (patch) | |
tree | 284fba2f6b3b437341266ed3a86bb1ed9c0522d9 | |
parent | 24cfda9e3c4257fa015963d7a0cf697270f37921 (diff) |
Remove accidentally committed abort()
-rw-r--r-- | buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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]; |