php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch mh_fix_fpm_shm.diff for FPM related Bug #61430Patch version 2012-03-18 21:40 UTC Return to Bug #61430 | Download this patchPatch Revisions: Developer: michaelhood@gmail.com--- sapi/fpm/fpm/fpm_shm.c 2012-03-18 14:02:50.192201263 -0700 +++ sapi/fpm/fpm/fpm_shm.c 2012-03-18 14:07:47.261121355 -0700 @@ -35,7 +35,7 @@ void *fpm_shm_alloc(size_t size) /* {{{ return NULL; } - memset(mem, size, 0); + memset(mem, 0, size); fpm_shm_size += size; return mem; } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Nov 21 11:01:29 2024 UTC |