anthonyfieroni added inline comments.

INLINE COMMENTS

> pam_kwallet.c:392
>      if (drop_privileges(userInfo) < 0) {
>          syslog(LOG_ERR, "%s: could not set gid/uid/euid/egit for kwalletd", 
> logPrefix);
>          goto cleanup;

fullSocket is not free'd.

> pam_kwallet.c:398
>      if ((envSocket = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) {
> -        pam_syslog(pamh, LOG_ERR, "%s: couldn't create socket", logPrefix);
> -        return;
> +        syslog(LOG_ERR, "%s: couldn't create socket", logPrefix);
> +        goto cleanup;

Here also.

REPOSITORY
  R107 KWallet PAM Integration

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D13013

To: aacid, fvogt
Cc: anthonyfieroni, mgerstner, fvogt, plasma-devel, ragreen, Pitel, ZrenBot, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart

Reply via email to