Browse Source

Merge branch '53' into 54

* 53:
  Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
pull/5/merge
Ilia Alshanetsky 15 years ago
parent
commit
5709f7dd5b
  1. 4
      NEWS
  2. 2
      sapi/fpm/fpm/fpm_shm.c

4
NEWS

@ -38,6 +38,10 @@ PHP NEWS
. Fixed bug #52719 (array_walk_recursive crashes if third param of the
function is by reference). (Nikita Popov)
- FPM
. Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
(michaelhood at gmail dot com, Ilia)
- Ibase
. Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
(Ilia)

2
sapi/fpm/fpm/fpm_shm.c

@ -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;
}

Loading…
Cancel
Save