Skip to content

Commit

Permalink
Fix for CONC-110
Browse files Browse the repository at this point in the history
Fixed a small typo (b instead of p) which caused a memory overrun
when parsing dsn keywords for connection and using keyword 'ssl'.
  • Loading branch information
9EOR9 committed Sep 4, 2020
1 parent 7647115 commit e807101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mariadb/mariadb_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ MrdbConnection_Initialize(MrdbConnection *self,
PyObject *autocommit_obj= NULL;

if (!PyArg_ParseTupleAndKeywords(args, dsnargs,
"|sssssisiiibbssssssssssipisibssssO:connect",
"|sssssisiiibbssssssssssibisibssssO:connect",
dsn_keys,
&dsn, &host, &user, &password, &schema, &port, &socket,
&connect_timeout, &read_timeout, &write_timeout,
Expand Down

0 comments on commit e807101

Please sign in to comment.