zllsdn / luadbi

Automatically exported from code.google.com/p/luadbi
MIT License
0 stars 0 forks source link

Unchecked malloc in common.c #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See below

    /*
     * allocate a new string for the converted SQL statement
     */
    newsql = (char *)malloc(sizeof(char) * (len+extra_space+1));
    memset(newsql, 0, sizeof(char) * (len+extra_space+1));

Original issue reported on code.google.com by dcrayf...@gmail.com on 23 Jan 2014 at 5:14

GoogleCodeExporter commented 8 years ago

Original comment by MWild1 on 24 Jan 2014 at 11:54

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 04c7317d5ac3.

Original comment by MWild1 on 30 Jul 2014 at 10:25