|
From: | Markus Elfring |
Subject: | [bug-recutils] [bug #30621] The code is not checking the return values of all system calls |
Date: | Wed, 07 Mar 2012 14:20:53 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 |
Follow-up Comment #6, bug #30621 (project recutils): I suggest to avoid unchecked function calls. Would you like to add more error handling for return values from "printf" like in the function "rec_sex_ast_print_node" and from "strdup" in the function "rec_write_comment"? http://git.savannah.gnu.org/cgit/recutils.git/tree/src/rec-sex-ast.c?id=e24c2e65200f5f46f1d5b8a7a3b377c6e953204e#n249 http://git.savannah.gnu.org/cgit/recutils.git/tree/src/rec-writer.c?id=32e6feb78680846858fa971e51bb5385d69e3104#n114 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30621> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |