[OpenSIPS-Devel] [OpenSIPS/opensips] 70d2e8: qrouting: Fix Coverity paranoid warning

Liviu Chircu noreply at github.com
Thu Jul 9 09:37:51 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 70d2e8f10a96f751d0c8245c5f9583dc4e20804e
      https://github.com/OpenSIPS/opensips/commit/70d2e8f10a96f751d0c8245c5f9583dc4e20804e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M modules/qrouting/qr_load.c

  Log Message:
  -----------
  qrouting: Fix Coverity paranoid warning

Even if the buffer can never be overflown here thanks to the CHAR(64) DB
schema restriction, if the user were to change the DB schema by hand and
extend the column to 65+ chars, it would crash OpenSIPS, so the warning
makes some sense.

Fixes CID #211387


  Commit: 96432213b694f3887419e7872f6fe948a1c19209
      https://github.com/OpenSIPS/opensips/commit/96432213b694f3887419e7872f6fe948a1c19209
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M lib/reg/lookup.c

  Log Message:
  -----------
  mid_registrar: Fix uninitialized variable

Fixes CID #211376


Compare: https://github.com/OpenSIPS/opensips/compare/5df8b636a15a...96432213b694



More information about the Devel mailing list