Skip to content

sofia-sip 2.0.4 - optimized -O2 default + STUN copy fix

Latest

Choose a tag to compare

@garacil garacil released this 06 Jul 00:03

Sofia-SIP 2.0.4.

Two changes over 2.0.3, plus attribution.

  1. Optimized production build by default (-O2 -g). configure.ac appended to
    CFLAGS before the compiler was probed, which left CFLAGS non-empty and
    suppressed Autoconf's default -g -O2 -- so a plain ./configure had been
    building at -O0 (unoptimized). A plain build is now -O2 -g. Passing your own
    CFLAGS (e.g. CFLAGS="-O3 -g") or CONFIGURE_CFLAGS opts out and is preserved
    verbatim.

  2. STUN: dropped a redundant overlapping copy after stun_atoaddr() in both the
    lifetime and NAT-type discovery paths. That copy read from the address of the
    addrinfo pointer field (overlapping the destination) and overwrote the just-
    resolved server address with addrinfo tail bytes; stun_atoaddr() already
    writes the resolved address into place. Proposed back upstream.

Compatibility unchanged: LGPL, the public API and headers (installed under
sofia-sip-1.13) and the library soname (libsofia-sip-ua.so.0.6.0) are identical,
so anything built against 2.0.x (or upstream 1.13.x) needs no rebuild.

The README now credits the original Sofia-SIP authors at the Nokia Research
Center (Pekka Pessi, Martti Mela, Kai Vehmanen and contributors) and describes
this fork's lineage and changes.