php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #63852
Patch fix__APC_SMA_DEBUG__Build revision 2012-12-25 19:58 UTC by lazy404 at gmail dot com

Patch fix__APC_SMA_DEBUG__Build for APC Bug #63852

Patch version 2012-12-25 19:58 UTC

Return to Bug #63852 | Download this patch
Patch Revisions:

Developer: lazy404@gmail.com

--- apc_sma.c.org  2012-12-25 20:51:43.044282150 +0100
+++ apc_sma.c   2012-12-25 20:52:02.800281497 +0100
@@ -394,7 +394,7 @@
         first->prev_size = 0;
         SET_CANARY(first);
 #ifdef __APC_SMA_DEBUG__
-        block->id = -1;
+        first->id = -1;
 #endif
         empty = BLOCKAT(first->fnext);
         empty->size = header->avail - ALIGNWORD(sizeof(block_t));
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 17:01:34 2024 UTC