| To: | Carlos Maiolino <cmaiolino@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] Fix possible memory corruption in xfs_readlink |
| From: | Alex Elder <aelder@xxxxxxx> |
| Date: | Tue, 18 Oct 2011 08:59:28 -0500 |
| Cc: | <xfs@xxxxxxxxxxx> |
| In-reply-to: | <1318911538-9174-1-git-send-email-cmaiolino@xxxxxxxxxx> |
| References: | <1318911538-9174-1-git-send-email-cmaiolino@xxxxxxxxxx> |
| Reply-to: | <aelder@xxxxxxx> |
On Tue, 2011-10-18 at 02:18 -0200, Carlos Maiolino wrote: > Fixes a possible memory corruption when the link is larger than > MAXPATHLEN and XFS_DEBUG is not enabled. This also remove the > S_ISLNK assert, since the inode mode is checked previously in > xfs_readlink_by_handle() and via VFS. > > Signed-off-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx> OK, looks good. I'll commit it soon. Reviewed-by: Alex Elder <aelder@xxxxxxx> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs_repair v3.1.6 - Segmentation fault AND XFS internal error xfs_btree_check_sblock, Richard Ems |
|---|---|
| Next by Date: | Re: [PATCH] Fix possible memory corruption in xfs_readlink, Eric Sandeen |
| Previous by Thread: | Re: [PATCH] Fix possible memory corruption in xfs_readlink, Christoph Hellwig |
| Next by Thread: | Re: [PATCH] Fix possible memory corruption in xfs_readlink, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |