git.samba.org
/
kseeger
/
samba-autobuild-v4-16-test
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8732561
)
rpc_host: We have tevent_req_oom() for ENOMEM
author
Volker Lendecke
<vl@samba.org>
Tue, 4 Jan 2022 12:02:25 +0000
(13:02 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 18 Jan 2022 20:22:38 +0000
(20:22 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/rpc_host.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/rpc_host.c
b/source3/rpc_server/rpc_host.c
index c76546af51784caefda88182270059fe9a766563..4a370f96e65701dccfd438ca64c7036c72c8cd7f 100644
(file)
--- a/
source3/rpc_server/rpc_host.c
+++ b/
source3/rpc_server/rpc_host.c
@@
-998,7
+998,7
@@
static struct tevent_req *rpc_host_bind_read_send(
peer_addr,
&state->client->npa_info5);
if (!NT_STATUS_IS_OK(status)) {
- tevent_req_
error(req, ENOMEM
);
+ tevent_req_
oom(req
);
return tevent_req_post(req, ev);
}