[OpenSIPS-Devel] [OpenSIPS/opensips] ec59cb: base64decode(): Improve robustness

Liviu Chircu liviu at opensips.org
Thu Mar 30 09:25:11 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ec59cb95fec32899123d658545825dc06a3424c3
      https://github.com/OpenSIPS/opensips/commit/ec59cb95fec32899123d658545825dc06a3424c3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M ut.c

  Log Message:
  -----------
  base64decode(): Improve robustness

* prevent invalid memory access with well-crafted input
* remove redundant logical AND


  Commit: faa96c2c80e6c58c038ddac01f4822623ef15381
      https://github.com/OpenSIPS/opensips/commit/faa96c2c80e6c58c038ddac01f4822623ef15381
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
    M modules/mid_registrar/encode.c
    M ut.c
    M ut.h

  Log Message:
  -----------
  mid_registrar: Fix incompatible Contact URI parameter values

This patch adds RFC 3261-compatible "word" encode/decode functions
for Contact URI parameter values, Call-IDs, etc.

Reported by Kirill Galinurov


Compare: https://github.com/OpenSIPS/opensips/compare/009691c6c767...faa96c2c80e6


More information about the Devel mailing list