[lkml]   [2009]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] AFS: Stop readlink() on AFS crashing because file not passed to afs_readpage()
On Thu, 27 Aug 2009 13:22:31 +0100
David Howells <> wrote:

> kAFS crashes when asked to read a symbolic link because page_getlink() passes a
> NULL file pointer to read_mapping_page(), but afs_readpage() expects a file
> pointer from which to extract a key.
> Modify afs_readpage() to request the appropriate key from the calling process's
> keyrings if a file struct is not supplied with one attached.

That seems like a rather large bug.

To which kernel version(s) should we apply this?


 \ /
  Last update: 2009-08-27 23:59    [W:0.031 / U:12.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site