Bug 231698 - Double free in pam_xauth::pam_sm_open_session ()
Double free in pam_xauth::pam_sm_open_session ()
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pam (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-10 00:20 EST by Miloslav Trmač
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: pam-0.99.8.1-9.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-09-21 10:10:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miloslav Trmač 2007-03-10 00:20:12 EST
Version-Release number of selected component (if applicable):
pam-0.99.6.2-3.16.fc6; the code is identical in pam-0.99.7.1-3.fc7.

Description of problem:
Reading pam_sm_open_session () in pam_xauth:
...
                putenv (xauthority); /* The environment owns this string now. */
...

        free(xauthority);

Steps to reproduce:
Replace userhelper by a wrapper script that runs real userhelper under valgrind,
then run wireshark through consolehelper.

Note You need to log in before you can comment on or make changes to this bug.