changeset 1776:290caf301a4f

Remove accidentally committed abort()
author Matt Johnston <matt@ucc.asn.au>
date Fri, 13 Nov 2020 23:16:50 +0800
parents 8179eabe16c9
children 97ad26e397a5
files buffer.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buffer.c	Mon Nov 02 20:33:48 2020 +0800
+++ b/buffer.c	Fri Nov 13 23:16:50 2020 +0800
@@ -188,7 +188,6 @@
 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];