Menu

#82 openserunix tool creates and never deletes temporary files

ver 1.2.x
closed-accepted
tools (30)
5
2007-05-11
2007-04-26
No

To communicate to openser process, the openser tool creates a socket of PF_LOCAL family and binds it, creating a special file in filesystem with name template /tmp/OpenSER.%d.XXXXXX. This temporary file is supposed to be removed during the program shutdown. But because of a bug in openserunix.c, it is never deleted.

Discussion

  • Anatoly Pidruchny

    Regular diff of the original and fixed file.

     
  • Anatoly Pidruchny

    Logged In: YES
    user_id=1759384
    Originator: YES

    File Added: openserunix.diffc

     
  • Anatoly Pidruchny

    "diff -c" of the original and fixed file.

     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
    • status: open --> open-accepted
     
  • Bogdan-Andrei Iancu

    Logged In: YES
    user_id=1275325
    Originator: NO

    Hi Anatoly,

    looks correct - I will review it and upload it on SVN.

    Thanks and regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • status: open-accepted --> closed-accepted
     
  • Bogdan-Andrei Iancu

    Logged In: YES
    user_id=1275325
    Originator: NO

    ok - the patch was applied on SVN.

    Thanks and regards,
    Bogdan

     

Log in to post a comment.

MongoDB Logo MongoDB