usual/slab: sanitize object size and align.
authorMarko Kreen <markokr@gmail.com>
Sun, 7 Jul 2013 13:32:28 +0000 (16:32 +0300)
committerMarko Kreen <markokr@gmail.com>
Sun, 7 Jul 2013 13:32:28 +0000 (16:32 +0300)
commit2c1cb7f9bfa0a2a183354eb2630a3e4136d0f96b
tree4dfb01868ab852f590d5a5ff1f440ea30aa3dc49
parentdaaa2a866b47303efd5a48ea9258805bc9400787
usual/slab: sanitize object size and align.

Too small values for both would make the code crash,
still allow them but replace with working values.

Noticed-by: Yue Du
usual/slab.c