Menu

#1402 Potential memory leak in providerDrv.c:forkProvider()

Memory_Leak
closed-fixed
sfcb (1090)
4
2008-12-30
2008-10-24
No

providerDrv.c:forkProvider() runs strdup() if a msg parameter is given. This is the case for most calls to forkProvider, but the value is never used.

The attached patch
- allows the msg parameter to be NULL
- passes NULL as msg when not used

Discussion

  • Klaus Kämpf

    Klaus Kämpf - 2008-10-24

    Fix potential memory leak in providerDrv.c:forkProvider()

     
  • Chris Buccella

    Chris Buccella - 2008-10-28
    • priority: 5 --> 4
    • assigned_to: buccella --> mchasal
     
  • Michael Chase-Salerno

    File Added: 2192049.patch

     
  • Michael Chase-Salerno

    Committed patch (just some whitespace changes)

     
  • Michael Chase-Salerno

    • status: open --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 60 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.