I submitted two patches tonight. Both add error checking to malloc() and realloc() calls, one for ncap.c and one for csz.c. Please check them carefully...I'm new at this. :-)
If they seem okay and are what was wanted (TODO item #84) I'll do the same with the rest of the source files. If anything's wrong, please let me know what I did wrong. I don't mind criticism. After making the changes I built NCO without trouble...hopefully these changes are useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I submitted two patches tonight. Both add error checking to malloc() and realloc() calls, one for ncap.c and one for csz.c. Please check them carefully...I'm new at this. :-)
If they seem okay and are what was wanted (TODO item #84) I'll do the same with the rest of the source files. If anything's wrong, please let me know what I did wrong. I don't mind criticism. After making the changes I built NCO without trouble...hopefully these changes are useful.