[lkml]   [2009]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 00/20] ceph: Ceph distributed file system client v0.10
* Sage Weil ( wrote:
> I don't always verify that things like element counts are "sane", though,
> so there's currently the possibility of trying to allocate large chunks of
> memory.

There's also the potential of allocating a small amount of memory w/ a
large element count if you overflow on multiply. You should definitely
protect against this if you have such code in ceph client (kcalloc has
simple example defense).


 \ /
  Last update: 2009-07-18 03:31    [W:0.136 / U:8.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site