git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13f8bf
)
Fix bug 6774 - smbd crashes if "aio write behind" is set.
author
Jeremy Allison
<jra@samba.org>
Fri, 9 Oct 2009 17:01:29 +0000
(10:01 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 12 Oct 2009 08:47:39 +0000
(10:47 +0200)
Don't dereference a talloc_move'd pointer.
Jeremy.
source3/smbd/aio.c
patch
|
blob
|
history
diff --git
a/source3/smbd/aio.c
b/source3/smbd/aio.c
index e5e522c2694dc9f4de371083c9b4ed051df14de1..ab986752e8de7ffa736deabdbf4a37b36e206501 100644
(file)
--- a/
source3/smbd/aio.c
+++ b/
source3/smbd/aio.c
@@
-299,7
+299,7
@@
bool schedule_aio_write_and_X(connection_struct *conn,
show_msg(aio_ex->outbuf);
if (!srv_send_smb(smbd_server_fd(),aio_ex->outbuf,
IS_CONN_ENCRYPTED(fsp->conn),
- &req->pcd)) {
+ &
aio_ex->
req->pcd)) {
exit_server_cleanly("handle_aio_write: srv_send_smb "
"failed.");
}