lkml.org 
[lkml]   [2009]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 09/35 error-handling] reiserfs: add locking around error buffer
From
Date
Jeff Mahoney <jeffm@suse.com> writes:

> The formatting of the error buffer is race prone. It uses static buffers
> for both formatting and output. While overwriting the error buffer
> can product garbled output, overwriting the format buffer with incompatible
> % directives can cause crashes.

Really? Just curious but could you describe the steps how a garbled printk can
leads to a crash?

Thanks,

-Andi

--
ak@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2009-03-30 20:53    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog