Wireshark-bugs: [Wireshark-bugs] [Bug 10284] _ws.col.Info field contains non-escaped quotes (for
Comment # 5
on bug 10284
from Daniël van Eeden
[dvaneeden@dve-mac wireshark]$ /opt/wireshark/bin/tshark --version
TShark (Wireshark) 2.1.0 (v2.1.0rc0-200-g4a5977b from master)
Copyright 1998-2015 Gerald Combs <gerald@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with libpcap, without POSIX capabilities, without libnl, with
libz 1.2.8, with GLib 2.44.1, without SMI, without c-ares, without ADNS,
without
Lua, without GnuTLS, without Gcrypt, with MIT Kerberos, without GeoIP.
Running on Linux 4.2.3-200.fc22.x86_64, with locale
LC_CTYPE=en_US.utf8;LC_NUMERIC=en_GB.UTF-8;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_US.utf8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_GB.UTF-8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=en_US.utf8,
with libpcap version 1.7.3, with libz 1.2.8.
Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz (with SSE4.2)
Built using gcc 5.1.1 20150618 (Red Hat 5.1.1-4).
[dvaneeden@dve-mac wireshark]$ sudo /opt/wireshark/bin/tshark -i lo -Y
mysql.query -d tcp.port==5709,mysql -e tcp.stream -e frame.time_epoch -e
mysql.query -Tfields -E quote=d
[sudo] password for dvaneeden:
Running as user "root" and group "root". This could be dangerous.
Capturing on 'Loopback'
"0" "1445425556.938183022" "select @@version_comment limit 1"
"0" "1445425556.942847646" "select USER()"
"0" "1445425561.218671091" "SELECT 'test'"
"0" "1445425563.002333603" "SELECT "test""
"0" "1445425565.170347443" "SELECT "'test'""
"0" "1445425567.186152698" "SELECT '"test"'"
"0" "1445425575.425986663" "SELECT
'test'"
"0" "1445425588.402144115" "SELECT
'test'"
^C8 packets captured
The MySQL queries I used to test:
-- START testcase
SELECT 'test';
SELECT "test";
SELECT "'test'";
SELECT '"test"';
SELECT
'test';
SELECT
'test'
;
-- END
You can run these with "mysql> source testcase.sql". Make sure to connect to
MySQL with -h 127.0.0.1 to connect over TCP/IP instead over the default UNIX
socket.
You are receiving this mail because:
- You are watching all bug changes.