FreeTDS / freetds

Official FreeTDS repository
http://www.freetds.org/
GNU General Public License v2.0
464 stars 161 forks source link

odbc_util.c:214: odbc_wide2utf: Assertion `p+1-out <= o_len' failed. #549

Open kothapraveen opened 7 months ago

kothapraveen commented 7 months ago

Hi Team @freddy77 ,

when we are testing the sourcode code with below unixODBC versions all Tests PASS. 2.3.1 - gcc443, 2.3.4 - gcc540, 2.311 - gcc540

But 2.3.12 - gcc1131 facing below error odbc_util.c:214: odbc_wide2utf: Assertion `p+1-out <= o_len' failed.

Regards, Praveen.

freddy77 commented 1 month ago

Related discussion https://github.com/FreeTDS/freetds/issues/531. I didn't manage to reproduce, even tried fuzzing the crashing function.