aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/PGPostgresResult.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-07-29 16:53:13 +0200
committerMax <post@wickenrode.com>2015-07-29 16:53:40 +0200
commit49a16a1207f2b78b7a885c647fd372c5def349dd (patch)
treea9973c954db94f998f361d8e2410927f7eef69d5 /Frameworks/PostgresKit/Source/PGPostgresResult.m
parenta0d507f2afc7f4c73f25b081883e015e72346029 (diff)
downloadsequelpro-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