Handle null deref in sdb_reset