mirror of https://github.com/sysown/proxysql
Guard memcpy calls with null check on data buffer. When data_size is 0, data is not allocated, so the copy loop must skip entries. Applied to both add_fields(sqlite3_stmt*) and add_fields(char**) overloads.pull/5739/head
parent
6927682d08
commit
a1c82966e3
Loading…
Reference in new issue