Skip to content

Commit

Permalink
Revert r314777: wrong log, the change was to libpam.
Browse files Browse the repository at this point in the history
  • Loading branch information
pgiffuni committed Mar 6, 2017
1 parent e40a47a commit fca7a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libpam/modules/pam_exec/pam_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ _pam_exec(pam_handle_t *pamh __unused,
nitems = sizeof(env_items) / sizeof(*env_items);
/* Count PAM return values put in the environment. */
nitems_rv = options->return_prog_exit_status ? PAM_RV_COUNT : 0;
tmp = reallocarray(envlist, envlen + nitems + 1 + nitems_rv + 1,
tmp = realloc(envlist, (envlen + nitems + 1 + nitems_rv + 1) *
sizeof(*envlist));
if (tmp == NULL) {
openpam_free_envlist(envlist);
Expand Down

0 comments on commit fca7a24

Please sign in to comment.