[OpenSIPS-Devel] [OpenSIPS/opensips] 405d28: acc: Fix buffer overflow

Liviu Chircu liviu at opensips.org
Thu Nov 22 10:46:09 EST 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 405d2889ba1974e0b181cd8725b0ac98258c5c9f
      https://github.com/OpenSIPS/opensips/commit/405d2889ba1974e0b181cd8725b0ac98258c5c9f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-11-22 (Thu, 22 Nov 2018)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  acc: Fix buffer overflow

The set_dlg_value() code would initialize the buffer to STRING_INIT_SIZE
(128) bytes but then immediately proceed to using it without any more
length checks, thus corrupting the memory any time it is run with larger
than 128-byte acc_extra values.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list