Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.
authorJeremy Allison <jra@samba.org>
Wed, 3 Feb 2010 00:32:51 +0000 (16:32 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Feb 2010 08:15:59 +0000 (09:15 +0100)
commitc940cadd00c4ea87e5988288bf241a46a57b9170
treeb8a277a450639d9b71146122080f0b586fa2bd22
parentd8d96fa8f9500d34fab1c7ffdb287a055cc209bb
Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.

Reported and found by Martin Hochreiter <linuxbox@wavenet.at>.
Ensure we copy the right amount of registry data into the outgoing
buffer.

Jeremy.
(cherry picked from commit 110a6f29f0d130753419d5fc5c7b238ab30822ec)
source3/rpc_server/srv_spoolss_nt.c