| Summary: | [patch] databases/mysql41-server fix for CVE-2008-2079 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Andrew Daugherity <adaugherity> | ||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Andrew Daugherity
2008-09-29 23:50:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool) Hi!
I've compile-checked this patch, it compiles and runs,
so I vote for it.
Andrew, does this patch contain all differences between
4.1.22 and 4.1.24 source codes? If so, we should name the port 4.1.24
and not 4.1.22_1 to we get right packages numbering and more correct
record in vulnerability databases later. So, next patch above yours
(or just replace first chunk with it):
--- Makefile.orig 2008-10-02 04:24:33.000000000 +0800
+++ Makefile 2008-10-02 04:18:34.000000000 +0800
@@ -6,8 +6,9 @@
#
PORTNAME?= mysql
-PORTVERSION= 4.1.22
-PORTREVISION?= 1
+PORTVERSION= 4.1.24
+PORTREVISION?= 0
+DISTNAME= mysql-4.1.22
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQL-4.1
Eugene Grosbein
>>> Eugene Grosbein <eugen@kuzbass.ru> 10/01/08 3:27 PM >>>=20 Andrew, does this patch contain all differences between 4.1.22 and 4.1.24 source codes? No, this patch is just the diff of the revision claiming to fix this bug = with the previous revision*, which is why I changed the version to = 4.1.22_1 rather than 4.1.24. It applies cleanly to the 4.1.22 source = (with some lines of offset, but I didn't bother changing that because the = patch succeeded). I first tried to update the port to 4.1.24, but decided it was too much = work, since the bzr checkout requires autoreconf to be run first, and then = most of the existing FreeBSD patches didn't apply. Also, a diff between = the 4.1.22 tarball and the 4.1.24 checkout was over 100k lines and changed = 472 files, so I decided to go this route instead. * With the exception of a couple test files, as I noted in the bug report. Andrew State Changed From-To: open->closed Committed, thanks! ale 2008-10-10 19:01:11 UTC
FreeBSD ports repository
Modified files:
databases/mysql41-server Makefile
databases/mysql41-server/files patch-sql::mysqld.cc
Added files:
databases/mysql41-server/files patch-sql_mysql_priv.h
patch-sql_sql_parse.cc
Log:
Fix for CVE-2008-2079.
PR: ports/127731
Submitted by: Andrew Daugherity <adaugherity@tamu.edu>
Revision Changes Path
1.228 +1 -1 ports/databases/mysql41-server/Makefile
1.5 +21 -0 ports/databases/mysql41-server/files/patch-sql::mysqld.cc
1.1 +11 -0 ports/databases/mysql41-server/files/patch-sql_mysql_priv.h (new)
1.1 +82 -0 ports/databases/mysql41-server/files/patch-sql_sql_parse.cc (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|