[sr-dev] New commits on branch master

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 21 18:00:43 CEST 2014


URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0bda1dc8238f6be5bc83711e0439dabff39c9120
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:57:09 2014 +0200

    core: safety check accessing variables in dbg message during fixup operation

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=511de7f5dc047368799e18d028e1e3f2864e05ac
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:56:01 2014 +0200

    core: link regex before replacement field allocation can fail
    
    - regex will be freed properly if there was an error for replacement

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3257da4abf7ea9cc64676ee66b6f70d600ac5c58
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:54:26 2014 +0200

    core: check if proto is not null before setting it
    
    - coherent checking across no_naptr_srv_sip_resolvehost()

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=256b1e17e5449ef844b885d542a9c1f66fad044a
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:52:53 2014 +0200

    core: safety check for freeing either pkg or shm values for var, when applicable
    
    - just an improvement to avoid doing both operations by mistake

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2abbeb8fd31e41a34a013ff65eada197f171f321
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:52:07 2014 +0200

    core: safety checks for pointer in dbg message printed inside dns cache

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b1106fb492a3e6e8ab73d37912b9a86d14373e75
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:50:53 2014 +0200

    core: free allocated memory in case of failing to get more for modparams
    
    - keep shutdown at startup error clean

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f47c9ee24adea03df58e84d296e9682e5f81286
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:50:09 2014 +0200

    core: safety check when declaring a cfg structure with empty content

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3c062c1299dabd76e8461389b67506a25d1fcc02
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:48:16 2014 +0200

    core: free line_buf in case of error building via
    
    - free buf in a very unlikely error converting src_ip to str in static
      buffer
    - coherent checking of msg pointer in the function

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69d43fbacdf121b6c3ab22686f9089d9c7859591
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:46:36 2014 +0200

    srutils/tmrec: reset pointer after free to avoid double deallocation

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6a82b6121f771b6b847aecf4c5a0c42d0388c5d0
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:45:52 2014 +0200

    db_text: fixed access after free and proper size for allocated memory

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=af81862f5930d4c33639c204a7d88aeb484d3f0d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:44:34 2014 +0200

    call_control: replaced dynamic str* a local variable
    
    - it was freed afterwards and could leak in case of error hanling

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=98bb8c7e5166d2ff494daa9c488073d16dcfb405
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:43:47 2014 +0200

    avpops: initialize local variable to avoid warning on db ops function

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=33d001a91fae080546755f63101c9b05fdf49b22
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:43:00 2014 +0200

    acc: avoid memleak at startup when failing to initialize a custome accounting  engine

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=74ae88f55dd4c1ed395bbb32a6c7a835de5775ee
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:42:04 2014 +0200

    tls: avoid leaking duplicated file name on re-iteration
    
    - reset file name pointer to avoid double free in case of error handling

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=53642d60ff2a680f724d5f439cf2b868bd082c3e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:40:27 2014 +0200

    mem: remove trailing ; to allow using as single instruction in conditinal blocks
    
    - this is for system malloc with extra debug for private memory

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=89c48cda56a67bd99288f6f390802f14b340e6da
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:39:50 2014 +0200

    benchmark: avoid memory leaks when dealing with invalid mi commands

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d2f71f30011cb885f494e5d7d82ffdd15ff5dc7b
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:38:19 2014 +0200

    auth_diameter: avoid double free in case of error and don't access freed pointer

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f65bf2c37bfaae740dd3cd8d686308cfa44b42f2
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:36:01 2014 +0200

    db_mysql: reset prev_token to avoid double free in case of url parse error
    
    - when db api v2 is used (ser modules)

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e114105450d8a5152448afd28de16e290297e38d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:35:39 2014 +0200

    db_mysql: remove line accessing freed result

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=17cc9b0054bd071cad478534e8615ba73c65cc29
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:34:24 2014 +0200

    debugger: check for define of PKG_MEMORY to execute pkg checks
    
    - allow compilation with system malloc for private memory

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ecfe8a90dc2445060b41a8b7c7ab65238b0652d4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:33:33 2014 +0200

    rtpengine: chef for SHM_MEM define for kamailio embedded mode
    
    - allow compilation with system malloc for private memory

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2f01858d0be09cecd5e21e3e10fdd9d6425be028
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:30:40 2014 +0200

    tm: release re for t_check_status(pv)
    
    - the canse when parameter is a variable and it contains a bad regex

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=387c369a11730afe680fb32138b93d4024f5b88d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 17:29:15 2014 +0200

    tm: fixed typo in previous commit related to name of struct contact variable

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d8e242c64d6c3d167c5a2b326ec77727d6d38217
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Apr 21 14:08:10 2014 +0200

    mem: DBG_SYS_MALLOC can be set to get verbose mem ops with system allocator
    
    - PKG_MEMORY has to be undefined in Makefile.defs




More information about the sr-dev mailing list