git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libcli/nbt: Fix illegal tuple index access.
[kai/samba-autobuild/.git]
/
libcli
/
nbt
/
pynbt.c
diff --git
a/libcli/nbt/pynbt.c
b/libcli/nbt/pynbt.c
index 7162880c32c0a5257988f8a3896761ae19909304..70e08c69de980e3c8a3aa9c61ea3182c60d2b1e5 100644
(file)
--- a/
libcli/nbt/pynbt.c
+++ b/
libcli/nbt/pynbt.c
@@
-289,7
+289,7
@@
static PyObject *py_nbt_name_register(PyObject *self, PyObject *args, PyObject *
return NULL;
}
- ret = PyTuple_New(
3
);
+ ret = PyTuple_New(
4
);
if (ret == NULL)
return NULL;
PyTuple_SetItem(ret, 0, PyString_FromString(io.out.reply_from));