lkml.org 
[lkml]   [2007]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 23 May 2007 15:24:01 -0700 (PDT)
FromChristoph Lameter <>
SubjectRe: 2.6.22-rc2-mm1
On Wed, 23 May 2007, Michal Piotrowski wrote:

> [ 19.096577] Real Time Clock Driver v1.12ac
> [ 21.650315] *** SLUB kmalloc-8: Redzone Active@0xc90f6d20 slab 0xc528c530
> [ 21.657365] offset=3360 flags=0x400000c3 inuse=61 freelist=0xc90f6d58
> [ 21.664349] Bytes b4 0xc90f6d10: 00 00 00 00 00 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ........ZZZZZZZZ
> [ 21.674305] Object 0xc90f6d20: 31 30 31 39 2e 30 30 35 1019.005
> [ 21.684259] Redzone 0xc90f6d28: 00 cc cc cc .ÿÿÿÿÿÿ

Ok. We are writing a string of length 8 to an object allocated via
kmalloc(8). A string of 8 bytes needs a 0x00 at the end though. This makes
it 9 bytes. The kmalloc should have been for 9 bytes!
\
 
 \ /
  Last update: 2007-05-24 00:29    [from the cache]
©2003-2010