#717 Unchecked return value of calloc
Closed: Fixed None Opened 13 years ago by jhrozek.

in daemons/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c

 854                if (NULL == enrolledBy) {
Assigning: "evals" = null return value from "calloc".
 855                        evals = (Slapi_Value **)calloc(2, sizeof(Slapi_Value *));
Dereferencing a null pointer "evals".
 856                        evals[0] = slapi_value_new_string(bindDN);

Metadata Update from @jhrozek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata