Menu

#24 No protection against multiple calls to Finalize

v1.0_(example)
closed-rejected
Code (21)
5
2021-06-29
2009-09-29
No

BC.Support.Synchronization: the Finalize calls aren't protected against multiple calls, which is entirely legal in Ada.
The obvious problem is with Read_Lock, but there may be other more obscure possibilities.

Discussion

  • Simon Wright

    Simon Wright - 2009-09-30

    ARM95 7.6.1(24), Note 21: the types involved are visibly only limited private, so the user can't call Finalize explicitly, so there will only be one call to Finalize

     
  • Simon Wright

    Simon Wright - 2009-09-30
    • labels: --> Code
    • assigned_to: nobody --> simonjwright
    • status: open --> closed-rejected
     
  • Simon Wright

    Simon Wright - 2018-05-02
    • status: closed-rejected --> open
    • Group: --> v1.0_(example)
     
  • Simon Wright

    Simon Wright - 2021-06-29
    • status: open --> closed-rejected
     

Log in to post a comment.

MongoDB Logo MongoDB