[Drbd-dev] [patch] drbd: potential null dereference

Philipp Reisner philipp.reisner at linbit.com
Thu Apr 1 10:56:39 CEST 2010


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(-)



More information about the drbd-dev mailing list