[OpenSIPS-Devel] [OpenSIPS/opensips] 0eee21: mi_datagram: Minor improvements

Liviu Chircu noreply at github.com
Fri Jul 10 09:29:40 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0eee2119991270bd23a6279e6b1a825586f2d227
      https://github.com/OpenSIPS/opensips/commit/0eee2119991270bd23a6279e6b1a825586f2d227
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M modules/mi_datagram/datagram_fnc.c
    M modules/mi_datagram/mi_datagram.c

  Log Message:
  -----------
  mi_datagram: Minor improvements

    * always NULL-terminate the read buffer (CID #200029).  Doesn't fix
      any known bug, just a good practice
    * avoid redundant memset(65535) on each read
    * improve startup error log





More information about the Devel mailing list