terra-sync / cnc

Seamless Database Replication tool
GNU General Public License v3.0
4 stars 2 forks source link

fix dynamic-stack-buffer-overflow error #77

Closed panosfol closed 1 month ago

panosfol commented 1 month ago

Maybe we should consider adding -pedantic to our flags to potentially avoid future bugs like this. However in this case the bug is not caught even with -pedantic due to the array being declared with a variable as its size that happens to equal 0.