Displaying 2 results from an estimated 2 matches for "escape_str".
2017 Oct 19
0
[Bug 1193] New: Incorrect malloc for SQL statements and missing strings length check
...nee: netfilter-buglog at lists.netfilter.org
Reporter: jean at phpnet.org
I developed a filter module for ulogd2 similar to the PWSNIFF module that is
getting the hostname and URI of HTTP GET/POST requests from raw packets and i
was experiencing segfaults when long strings were passed to escape_string() as
i am inserting these values on a database.
sql_createstmt() allocates 100 bytes per key, no mater what their type and
content are.
The segfaults are caused by the fact that there is no check on the length of
strings : Values can be way longer than 100 chars and escaped values might even
be...
2008 Jan 16
2
Escaping special characters :, (, ), [, ], {, }, !, +, ", ~, ^, -, |, <, >, =, *, ?, \
Hello,
I am trying to escape words for searching i.e., "hello". The key here
is that the two L''s on "hello" are actually vertical bars. Is there
a special function in Ferret or anywhere for that matter that will do
the escaping of the Ferret special characters?
Thanks in advance,
Benjamin