Re: crash while playing bzflag

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alex Riesen <raa.lkml@...>, linux-kernel <linux-kernel@...>
Date: Friday, September 7, 2007 - 7:14 pm

On 09/07/2007 03:56 PM, Alex Riesen wrote:

Whee...

here, in __vfs_follow_link:

        if (*link == '/') {   <================ link points to unmapped memory
                path_release(nd);
                if (!walk_init_root(link, nd))
                        /* weird __emul_prefix() stuff did it */
                        goto out;
        }

inlined from __do_follow_link:

        if (!IS_ERR(cookie)) {
                char *s = nd_get_link(nd);
                error = 0;
                if (s)
                        error = __vfs_follow_link(nd, s);
                if (dentry->d_inode->i_op->put_link)
                        dentry->d_inode->i_op->put_link(dentry, nd, cookie);
        }

__do_follow_link is inlined from do_follow_link

presumably inlined here:

                if ((lookup_flags & LOOKUP_FOLLOW)
                    && inode && inode->i_op && inode->i_op->follow_link) {
                        err = do_follow_link(&next, nd);
                        if (err)
                                goto return_err;
                        inode = nd->dentry->d_inode;
                } else

What filesystem was this?
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
crash while playing bzflag, Alex Riesen, (Fri Sep 7, 3:56 pm)
Re: crash while playing bzflag, Michal Piotrowski, (Fri Sep 7, 7:18 pm)
Re: crash while playing bzflag, Alex Riesen, (Sat Sep 8, 2:12 pm)
Re: crash while playing bzflag, Alex Riesen, (Sat Sep 8, 7:08 pm)
Re: crash while playing bzflag, Chuck Ebbert, (Fri Sep 7, 7:14 pm)
Re: crash while playing bzflag, Alex Riesen, (Sat Sep 8, 2:11 pm)