[OpenSIPS-Devel] [OpenSIPS/opensips] 9ac773: registrars: Fix an edge-case with lookup("r")

Liviu Chircu noreply at github.com
Thu Nov 3 17:24:43 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9ac7739ef02079a22de6beb776d6a1628a4458cb
      https://github.com/OpenSIPS/opensips/commit/9ac7739ef02079a22de6beb776d6a1628a4458cb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M lib/reg/lookup.c

  Log Message:
  -----------
  registrars: Fix an edge-case with lookup("r")

This fixes a bug where the registrar library would return
E_LOOKUP_NO_RESULTS upon encountering an AoR with 0 contacts, instead of
continuing to walk the branches and expand the remaining AoRs.

Many thanks to @MayamaTakeshi for a detailed bug report!
Fixes #2917





More information about the Devel mailing list