mainOATH Toolkit - Support: sr #108456, PAM module does not check whether...

 
 

sr #108456: PAM module does not check whether strdup allocation succeeded

Submitter:  Eero Häkkinen <eehakkin>
Submitted:  Sat 14 Dec 2013 02:40:12 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  jas
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 May 2015 10:21:25 AM UTC, comment #1: 

Thank you.  I believe this patch has been merged already.

Simon Josefsson <jas>
Group administrator
Sat 14 Dec 2013 02:40:12 PM UTC, original submission:  

The attached patch adds strdup return value checks to the pam_oath PAM module. This fixes the module to exit with PAM_BUF_ERR error code and prevents false success and NULL pointer dereference.

Eero Häkkinen <eehakkin>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jas (Posted a comment)
  • -email is unavailable- added by eehakkin (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-19 jas StatusNone Done
        Assigned toNone jas
        Open/ClosedOpen Closed
    2013-12-14 eehakkin Attached File- Added strdup-retval-check.patch, #29920

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code