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

wdoekes reviewboard at asterisk.org
Mon Jun 2 05:23:36 CDT 2014


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

Review request for Asterisk Developers and Joshua Colp.


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/20140602/cca7e6e3/attachment.html>


More information about the asterisk-dev mailing list