Commit a9da4815 authored by Rob Percival's avatar Rob Percival Committed by Rich Salz
Browse files

Fix potential access of null pointer (pp)

parent 8f09ba47
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -365,9 +365,9 @@ int i2o_SCT_LIST(const STACK_OF(SCT) *a, unsigned char **pp)
    if (pp != NULL) {
        p = *pp;
        s2n(len2 - 2, p);
    }
        if (!is_pp_new)
            *pp += len2;
    }
    return len2;

 err: