[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-karma-devel
Subject:    Re: [linux-karma-devel] [PATCH] fs, omfs: add NULL terminator in the end up the token list
From:       Bob Copeland <me () bobcopeland ! com>
Date:       2015-03-12 20:24:08
Message-ID: 20150312202408.GF9840 () localhost
[Download RAW message or body]

On Thu, Mar 12, 2015 at 04:11:09PM -0400, Sasha Levin wrote:
> match_token() expects a NULL terminator at the end of the token list so that
> it would know where to stop. Not having one causes it to overrun to invalid
> memory.
> 
> In practice, passing a mount option that omfs didn't recognize would sometimes
> panic the system.

Yikes, thanks for the catch!

Acked-by: Bob Copeland <me@bobcopeland.com>

> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>

-- 
Bob Copeland %% http://bobcopeland.com/

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
linux-karma-devel mailing list
linux-karma-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic