Bug 56252

Summary: [patch] databases/mysql{323,40,41}-server: fix possible infinite loop if USE_MYSQL is accidently defined
Product: Ports & Packages Reporter: Clement Laforet <sheepkiller>
Component: Individual Port(s)Assignee: Peter Pentchev <roam>
Status: Closed FIXED    
Severity: Affects Only Me CC: sheepkiller
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff none

Description Clement Laforet 2003-09-01 00:00:35 UTC
	When USE_MYSQL is defined out of a port, it can cause infinite loop.
	These patches (read "copy and paste"), obtained from openldap and gmake ports,
	avoid infinite loops which can kill your system.

Fix: mysql323-server
-------------------------------
mysql40-server
-------------------------------
mysql41-server
-------------------------------
How-To-Repeat: 	On a fresh system:
	# cd /usr/ports/devel/libtool13
	# echo "USE_MYSQL=I_wanna_see_my_freebsd_box_out_of_memory" >> /etc/make.conf
	# make all-depends-list
	Wait a couple of minutes until all your memory is exhausted.
Comment 1 Peter Pentchev freebsd_committer 2003-09-23 15:02:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

I'll take care of this.
Comment 2 Peter Pentchev freebsd_committer 2003-10-03 17:10:22 UTC
State Changed
From-To: open->closed

Committed, thanks!