Skip to content

Commit 9827913

Browse files
uckogouriano
authored andcommitted
python_ncbi_dbapi Connect: Explicitly NULL-terminate kwnames.
JIRA: CXX-13698. git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@103033 78c7ea69-d796-4a43-9a09-de51944f1b03
1 parent 95bc70f commit 9827913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dbapi/lang_bind/python/python_ncbi_dbapi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3875,7 +3875,7 @@ Connect(PyObject *self, PyObject *args, PyObject *kwargs)
38753875
try {
38763876
static const char * const kwnames[] = {
38773877
"driver", "type", "dsn", "database", "user", "password",
3878-
"support_standard_interface", "extra"
3878+
"support_standard_interface", "extra", nullptr
38793879
};
38803880
PyObject *py_driver_name;
38813881
PyObject *py_db_type;

0 commit comments

Comments
 (0)