s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().
commit5fc2656e600791667835775c94a86f788abbcc1a
authorGünther Deschner <gd@samba.org>
Tue, 14 Apr 2009 10:08:55 +0000 (14 12:08 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 14 Apr 2009 10:16:42 +0000 (14 12:16 +0200)
treefaa4236a5ca5b6a3410582dace0ec649cf6f8c8a
parent0f48d27d6fb45bc61899916037a5133e3022ec59
s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().

Make sure we are not copying more than what we have as valid data.

Fix from Jeremy. Thanks a lot for watching this so closely!

Guenther
(cherry picked from commit fa302020ee39bf39bf324983cf8e381232691e76)
source3/rpc_server/srv_svcctl_nt.c