openbsd-ports/databases/mysql/patches/patch-sql_mysqld_cc
brad 848191a380 upgrade to MySQL 5.0.24a + a few patches.
http://bugs.mysql.com/22227 ulong fix
http://bugs.mysql.com/21327 OpenSSL build fix
http://bugs.mysql.com/18630 security context issue fix
http://bugs.mysql.com/17647 case-sensitive fs issue fix

CVE-2006-4226, CVE-2006-4227
2006-10-03 04:52:03 +00:00

13 lines
427 B
Plaintext

$OpenBSD: patch-sql_mysqld_cc,v 1.5 2006/10/03 04:52:03 brad Exp $
--- sql/mysqld.cc.orig Thu Jul 27 14:51:21 2006
+++ sql/mysqld.cc Mon Aug 7 21:03:49 2006
@@ -3375,7 +3375,7 @@ int main(int argc, char **argv)
init_ssl();
#ifdef HAVE_LIBWRAP
- libwrapName= my_progname+dirname_length(my_progname);
+ libwrapName= (char *) my_progname+dirname_length(my_progname);
openlog(libwrapName, LOG_PID, LOG_AUTH);
#endif