The Samba-Bugzilla – Attachment 14866 Details for
Bug 12713
samba-tool classicupgrade segmentation fault from py_dom_sid_ndr_unpack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that shouldn't make a difference
0001-pidl-Python-initialise-a-datablob.patch (text/plain), 1.02 KB, created by
Douglas Bagnall
on 2019-02-24 06:35:52 UTC
(
hide
)
Description:
patch that shouldn't make a difference
Filename:
MIME Type:
Creator:
Douglas Bagnall
Created:
2019-02-24 06:35:52 UTC
Size:
1.02 KB
patch
obsolete
>From 5d3d55575951cabe6e48968434aa9b874b425df6 Mon Sep 17 00:00:00 2001 >From: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >Date: Sun, 24 Feb 2019 19:31:07 +1300 >Subject: [PATCH] pidl/Python: initialise a datablob > >Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >--- > pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm >index efa80d7cdd1..26a1d9b4fc6 100644 >--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm >+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm >@@ -313,7 +313,7 @@ sub PythonStruct($$$$$$) > $self->pidl("{"); > $self->indent; > $self->pidl("$cname *object = ($cname *)pytalloc_get_ptr(py_obj);"); >- $self->pidl("DATA_BLOB blob;"); >+ $self->pidl("DATA_BLOB blob = {.data = NULL, .length = 0};"); > $self->pidl("Py_ssize_t blob_length = 0;"); > $self->pidl("enum ndr_err_code err;"); > $self->pidl("const char * const kwnames[] = { \"data_blob\", \"allow_remaining\", NULL };"); >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12713
: 14866