cslim
cslim copied to clipboard
Potential buffer overflow
/src/CSlim/SlimList.c char* SlimList_ToString(SlimList* self)
this function continually appends up to an additional 128 characters to buf. If buf already contains 127 characters this will still append more characters to the string.
Thanks @adamblack1 for your code review. Do you have any interest in submitting a pull request to address these issues? I can work with you on the process if you are interested
@dougbradbury thank you for mentioning the idea of a pull request. I have created a pull request (https://github.com/dougbradbury/cslim/pull/17) I look forward to hearing any feedback that you have.