freebsd-ports/databases/mysql41-server/files/patch-sql::mylibwrap.c
Alex Dupre 5a1e6a8f8f Update to 4.1.15 release:
- Fix a buffer overflow in prepared statements API
- Fix bug in remote connections caused by libwrap [1]

Patch by:       peadar [1]
Approved by:    portmgr (marcus)
2004-09-22 22:22:32 +00:00

23 lines
395 B
C

--- sql/mylibwrap.c.orig Thu Jan 1 01:00:00 1970
+++ sql/mylibwrap.c Sun Sep 19 15:37:22 2004
@@ -0,0 +1,20 @@
+#include <tcpd.h>
+#include "mylibwrap.h"
+
+void
+my_fromhost(struct request_info *req)
+{
+ fromhost(req);
+}
+
+int
+my_hosts_access(struct request_info *req)
+{
+ return hosts_access(req);
+}
+
+char *
+my_eval_client(struct request_info *req)
+{
+ return eval_client(req);
+}