Hi, 2011/5/27 Vladimir Luchko <vlad.l...@mail.ru>: > In libsofia-sip-ua/msg/msg_tag.c : msgobjtag_dup() we can see: > > --- > memset(mo, 0, omo->msg_size); > mo->msg_size = omo->msg_size; > mo->msg_flags = omo->msg_flags; > > if (mo->msg_request) > o = mo->msg_request; > else > o = mo->msg_status; > --- > > I`ve add some trace and figure out that memset nulls mo->msg_request and > mo->msg_status as well. > So we do not copy the headers of the structure in any case. > Replacing in "if-else" "mo" with "omo" works for me and it looks > meaningfull - couse we copy headers _from_ it - not _to_ it.
Thanks for catching it, I've pushed a fix to master. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel