Fix bug #7020 - smbd using 2G memory.
commit4e8c70e288f15cdd55f40b0ab6e8beee180b4751
authorJeremy Allison <jra@samba.org>
Tue, 5 Jan 2010 22:34:00 +0000 (5 14:34 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 6 Jan 2010 10:23:14 +0000 (6 11:23 +0100)
tree6365bda9eccfc9b4688a4f12490cd945c4615d65
parent02c9d04b9e2c42635f3c82fd2b5f5ebf0a1d2d8e
Fix bug #7020 - smbd using 2G memory.

When deferring an async pipe writeX and readX transfer
the outstanding request struct onto the conn struct. This
needs freeing after the packet is finally processed.

Jeremy.
(cherry picked from commit f6bd654a6c878111f0f0f4d07adb644fc3bbf224)
(cherry picked from commit b63539809d022f7012f4899a5a18a835079d6c6f)
source3/smbd/pipes.c