On Wed, Jun 7, 2017 at 2:00 PM, Dave Jiang <dave.jiang(a)intel.com> wrote:
bb_count would be 0 if util_region_badblocks_to_json() returns NULL.
Initialize bb_count to 0 by default.
Reported-by: Andy Rudoff <andy.rudoff(a)intel.com>
Signed-off-by: Dave Jiang <dave.jiang(a)intel.com>
Thanks Dave! Applied and pushed out on the 'pending' branch.