[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100710092151.GS19184@bicker>
Date: Sat, 10 Jul 2010 11:21:52 +0200
From: Dan Carpenter <error27@...il.com>
To: shenghui <crosslonelyover@...il.com>
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org
Subject: Re: [PATCH] avoid NULL deference in ext2_xattr_get
Another way to fix this would be to say:
ea_idebug(inode, "name=%d.%s, buffer=%p, buffer_size=%ld",
- name_index, name, buffer, (long)buffer_size);
+ name_index, name ?: "(null)", buffer, (long)buffer_size);
That would help for debugging.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists