summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-12-04 20:03:39 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-12-19 15:40:42 +0100
commit89869e090c56a3f83b451b437f9c3f40a231dd24 (patch)
tree797f11d4de8973fc305f08612d21f989aeb2915d /python
parent8dd37327b02eaea33915a9cd206667981b8df872 (diff)
downloadsamba-89869e090c56a3f83b451b437f9c3f40a231dd24.tar.gz
samba-89869e090c56a3f83b451b437f9c3f40a231dd24.tar.xz
samba-89869e090c56a3f83b451b437f9c3f40a231dd24.zip
spoolss: clear JobInfo on GetJob error
In handling a spoolss GetJob request, the _spoolss_GetJob() handler may return an immediate error if one of the input parameters is invalid. If this is done without zeroing the pre-allocated @info pointer, then api_spoolss_GetJob() will attempt to marshall @info, which in the case of an @offered value of zero results in a marshalling error: ndr_push_error(7): Bad subcontext (PUSH) content_size 64 is larger than size_is(0) Bug: https://bugzilla.samba.org/show_bug.cgi?id=10984 Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions