Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 337 by [email protected]: slab_rebalance_finish memset with
invalid size
http://code.google.com/p/memcached/issues/detail?id=337
The `slab_rebalance_finish` function memset rebalance slab with size
`settings.item_size_max`. But if `slab_reassign` is not enable from the
beginning, `do_slabs_newslab` will try to allocate a block of memory with
size `p->size * p->perslab`. In this case the memset operation would
overwrite data still in used. I think it's better to calculate the size
with `slab_rebal.slab_start` and `slab_rebal.slab_end`.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.