SoftEtherVPN / seclib

C Library for Convenient System & Network Programming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory corrupt when call ScXXXX() function

connLAN opened this issue · comments

I tried use it to build a little qt-based GUI demo, when I call ScXXXX() functions , such as ScCreateLink(), it core dump or the param t's member value is changed, t address not changed. I am not clear the root reason, gdb not tell the right place. I guess the whole seclib use too much stack memory , so make it unstable. I'd like to know how to fix such errors. Thanks a lot.