Menu

#249 Call free() for static data pointer.

version-cvs
closed-fixed
None
5
2013-05-22
2013-05-20
No

getpass() and getpassphrase() library functions both return pointers to a static data array.
call free() with the resulting pointer is incorrect and abnormally terminates the program.
the attached patch removes the incorrect free() calls.

Discussion

  • Dmitry Bazhenov

    Dmitry Bazhenov - 2013-05-20

    patch that fix the issue

     
  • Zdenek Styblik

    Zdenek Styblik - 2013-05-22
    • assigned_to: nobody --> stybla
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB