*** buffer overflow detected ***异常

一次在linux上编译程序报错:

*** buffer overflow detected ***: ./TAppEncoderStaticSADBS terminated

排查原因发现是sprintf读取时数组长度不够,将数组长度由50增加为128即可解决。

猜你喜欢

转载自blog.csdn.net/Dillon2015/article/details/107850302