diff buffer.c @ 1776:290caf301a4f

Remove accidentally committed abort()
author Matt Johnston <matt@ucc.asn.au>
date Fri, 13 Nov 2020 23:16:50 +0800
parents b688c884dad7
children 8b4274d34fe8
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];