commit c4f06acee858127367cc72ecce3ff7e1edacdcdd (HEAD -> develop, 
origin/develop)
Author: khanh.q.nguyen1 <[email protected]>
Date:   Mon Apr 17 13:48:16 2023 +0700

    evt: fix pointer used after free [#3332]

    This fix moves the free function to a more appropriate position.


---

** [tickets:#3332] rde: incorrect use of pointer**

**Status:** review
**Milestone:** 5.23.07
**Created:** Mon Mar 27, 2023 06:47 AM UTC by Gary Lee
**Last Updated:** Mon Apr 17, 2023 07:13 AM UTC
**Owner:** Nguyen Quoc Khanh


In rda_papi.cc, there is a use after free.

    if (m_NCS_TASK_START(rda_callback_cb->task_handle) != NCSCC_RC_SUCCESS) {
      m_NCS_MEM_FREE(rda_callback_cb, 0, 0, 0);
      m_NCS_TASK_RELEASE(rda_callback_cb->task_handle);
      rc = PCSRDA_RC_TASK_SPAWN_FAILED;
      break;
    }


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to