[OpenSIPS-Devel] [OpenSIPS/opensips] 8b0731: Fixed checking return code for pre raw callbacks

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Apr 5 11:14:17 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8b07314bb05394cb3f435201c637a9b1ecdee51e
      https://github.com/OpenSIPS/opensips/commit/8b07314bb05394cb3f435201c637a9b1ecdee51e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M receive.c

  Log Message:
  -----------
  Fixed checking return code for pre raw callbacks

If the TH pre raw callbacks fails, it may return a NULL buffer, leading to a later crash when we want to parse the SIP message.

(cherry picked from commit 4be2662df00f9e024ed47ed508ae192aa834b589)




More information about the Devel mailing list