Messages in this thread | | | From | Philipp Reisner <> | Subject | Re: [patch] drbd: potential null dereference | Date | Thu, 1 Apr 2010 10:56:39 +0200 |
| |
Hi Dan,
Thanks for the work with the static analyzer, but the patch is bogus. The lc_element_by_index() function causes a BUG_ON before returning a NULL. The next mail contains a patch that removes the unnecessary conditional expression operator.
Philipp Reisner (1): drbd: lc_element_by_index() never returns NULL
drivers/block/drbd/drbd_actlog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
| |