mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +00:00
Remove accidentally committed abort()
This commit is contained in:
parent
24cfda9e3c
commit
15ea6d1106
1
buffer.c
1
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];
|
||||
|
Loading…
Reference in New Issue
Block a user