codehotter / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

1358e0f Coverity Fix

Authored and Committed by Noriko Hosoi 11 years ago
    Coverity Fix
    13138: Dereference after null check
    Fix description: Variable upperkey given to idl_new_range_fetch
    could be NULL or its data field could be NULL.  That is interpreted
    there is no upper bound.  This patch adds NULL check for upperkey
    and upperkey->data.  Also, fixing a compiler warning.
    
    Reviewed by Rich (Thank you!!)