Menu

#75 TRDP IF: session mutex not freed in tlc_terminate()

1.3.0.0
closed
1392 (1)
2015-03-27
2015-03-11
No

It is needed to add closing session mutex process before vos_terminate().

Because, if the mutex created is not deleted and the pointer which contain the address of mutex structure not cleared, unusable mutex which is the first time value is reused.

Discussion

  • Kazumasa Aiba

    Kazumasa Aiba - 2015-03-11

    Modified
    file : trdp_if.c
    function : tlc_terminate()

    684 lines of below is added to the eye.

    vos_mutexDelete(sSessionMutex);
    sSessionMutex = NULL

     

    Last edit: Kazumasa Aiba 2015-03-11
  • Kazumasa Aiba

    Kazumasa Aiba - 2015-03-11

    Modified
    file : trdp_if.c
    function : tlc_terminate()

    684 lines of below is added to the eye.

    vos_mutexDelete(sSessionMutex);
    sSessionMutex = NULL

     
  • Armin-Hagen Weiss

    Thanks for the hint.

     
  • Armin-Hagen Weiss

    • labels: --> 1392
    • status: open --> closed
    • assigned_to: Armin-Hagen Weiss
    • Milestone: 1.2.0.0 --> 1.3.0.0
     
  • Armin-Hagen Weiss

    • summary: mutex Defect --> TRDP IF: session mutex not freed in tlc_terminate()
     

Log in to post a comment.

MongoDB Logo MongoDB