diff options
author | Max <post@wickenrode.com> | 2015-07-29 16:53:13 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-07-29 16:53:40 +0200 |
commit | 49a16a1207f2b78b7a885c647fd372c5def349dd (patch) | |
tree | a9973c954db94f998f361d8e2410927f7eef69d5 /Frameworks/PostgresKit/Source/PGPostgresResult.m | |
parent | a0d507f2afc7f4c73f25b081883e015e72346029 (diff) | |
download | sequelpro-49a16a1207f2b78b7a885c647fd372c5def349dd.tar.gz sequelpro-49a16a1207f2b78b7a885c647fd372c5def349dd.tar.bz2 sequelpro-49a16a1207f2b78b7a885c647fd372c5def349dd.zip |
Fix an issue where Sequel Pro added a NUL byte to the end of every query (fixes #2184)
We tried to convert the query string into a c string that could contain NUL bytes - which by definition a c string cannot (making it a byte buffer with a terminating NUL byte) and then tried to pass that to mysql_real_query() which expects a byte buffer anyway.
Diffstat (limited to 'Frameworks/PostgresKit/Source/PGPostgresResult.m')
0 files changed, 0 insertions, 0 deletions