Every release which has been made is now on the sf.net server. The last release is 2.1.
I have decided to stop developing sgets() farther because I have lost pretty much all interest in it.
Thank you,
Ramsey G. Brenner
rgbrenner@myrealbox.com
http://rgbrenner.cjb.net/
I happened to be looking at sgets() earilier today, and noticed a little mistake which causes a big problem.
The function tests if a static char* is NULL, if it is then it has just been allocated, otherwise its suppose to free it (so that the function starts from scratch when allocating space). The problem is that if originally wrote "if(str == NULL) free(str);", which of course was suppose to say "if(str != NULL) free(str);". Stupid, eh?... read more
Safe gets v1.0 has been released. It has been tested for memory leaks, and buffer overflows. Enjoy!
Ramsey G. Brenner
rgbrenner@myrealbox.com
http://rgbrenner.cjb.net/
Safe gets is a replacement for the insecure gets(3) function.
Home: https://sourceforge.net/projects/sgets/