pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45082: www/php-apc segfaults [PATCH]



>Number:         45082
>Category:       pkg
>Synopsis:       www/php-apc segfaults [PATCH]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 18 21:50:00 +0000 2011
>Originator:     Peter Avalos
>Release:        DragonFly
>Organization:
TheShell
>Environment:
DragonFly ylem.theshell.com 2.11-DEVELOPMENT DragonFly 
v2.11.0.208.g14dc24-DEVELOPMENT #53: Tue May 17 12:52:46 HST 2011     
root%ylem.theshell.com@localhost:/usr/obj/usr/src/sys/YLEM  i386

>Description:
www/php-apc segfaults due to a typo in the vendor's code.
>How-To-Repeat:

>Fix:
This is already fixed in the vendor's source, but they haven't released a new 
version yet.

--- apc_lock.h.orig     2011-05-14 12:14:56.000000000 -1000
+++ apc_lock.h  2011-06-18 11:35:55.000000000 -1000
@@ -154,7 +154,7 @@
 # define apc_lck_nb_lock(a)    apc_fcntl_nonblocking_lock(a TSRMLS_CC)
 # define apc_lck_rdlock(a)     apc_fcntl_rdlock(a TSRMLS_CC)
 # define apc_lck_unlock(a)     apc_fcntl_unlock(a TSRMLS_CC)
-# define apc_lck_rdunlock(a)   apc_fcntl_unlock(&a TSRMLS_CC)
+# define apc_lck_rdunlock(a)   apc_fcntl_unlock(a TSRMLS_CC)
 #endif

 #endif



Home | Main Index | Thread Index | Old Index