LWN.net Logo

mysql-ocaml: missing escape function

Package(s):mysql-ocaml CVE #(s):CVE-2009-2942
Created:October 15, 2009 Updated:November 10, 2009
Description: From the Debian advisory: It was discovered that mysql-ocaml, OCaml bindings for MySql, was missing a function to call mysql_real_escape_string(). This is needed, because mysql_real_escape_string() honours the charset of the connection and prevents insufficient escaping, when certain multibyte character encodings are used. The added function is called real_escape() and takes the established database connection as a first argument. The old escape_string() was kept for backwards compatibility.
Alerts:
Fedora FEDORA-2009-10701 2009-10-21
Mandriva MDVSA-2009:279 2009-10-15
Debian DSA-1910-1 2009-10-14
Fedora FEDORA-2009-10582 2009-10-21

(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds