[asterisk-dev] [Code Review] 3579: odbc: Fix for remove fixed size buffers fix (r414968).

wdoekes reviewboard at asterisk.org
Tue Jun 3 02:31:49 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3579/
-----------------------------------------------------------

(Updated June 3, 2014, 2:31 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and Joshua Colp.


Changes
-------

Committed in revision 414997


Repository: Asterisk


Description
-------

Mea culpa.

I okayed r3557, but it introduced a segfault.
https://reviewboard.asterisk.org/r/3557/
http://lists.digium.com/pipermail/asterisk-commits/2014-May/068614.html

sql_insert is optional. Previously, this was a static buffer, so it would never be NULL.
Now it is dynamic and can be NULL, creating trouble.


Diffs
-----

  /branches/1.8/funcs/func_odbc.c 414989 

Diff: https://reviewboard.asterisk.org/r/3579/diff/


Testing
-------

After the patch, asterisk didn't crash on a write query anymore.


Thanks,

wdoekes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140603/8ab718b2/attachment.html>


More information about the asterisk-dev mailing list