artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497938a
)
avoid use after free
author
jsg
<jsg@openbsd.org>
Sun, 30 Apr 2023 23:46:52 +0000
(23:46 +0000)
committer
jsg
<jsg@openbsd.org>
Sun, 30 Apr 2023 23:46:52 +0000
(23:46 +0000)
ok florian@
sbin/unwind/frontend.c
patch
|
blob
|
history
diff --git
a/sbin/unwind/frontend.c
b/sbin/unwind/frontend.c
index
20061e6
..
3bc7b48
100644
(file)
--- a/
sbin/unwind/frontend.c
+++ b/
sbin/unwind/frontend.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: frontend.c,v 1.7
7 2023/02/08 08:01:25 tb Exp $
*/
+/* $OpenBSD: frontend.c,v 1.7
8 2023/04/30 23:46:52 jsg Exp $
*/
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@
-1747,6
+1747,7
@@
tcp_response(int fd, short events, void *arg)
if (errno == EAGAIN || errno == EINTR)
return;
free_pending_query(pq);
+ return;
}
sldns_buffer_skip(pq->abuf, n);
if (sldns_buffer_remaining(pq->abuf) == 0)