commit 8cf2cdaa9e11ecebdd1142af9539c45b2d33556b from: Omar Polo date: Thu Sep 01 14:41:30 2022 UTC gotwebd: add missing fcgi_printf return check dead store found by clang' scan-build. commit - 565bce9b0139246a900c5df6253b2c51f9724ea3 commit + 8cf2cdaa9e11ecebdd1142af9539c45b2d33556b blob - 05b2358d0a11aacfc2d7cfa426ec258f0d3c96d2 blob + 3bdfc28736918a09e42ed18997bdbdfd6ed7b0a5 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -1355,6 +1355,8 @@ gotweb_render_commits(struct request *c) "
\n", index_page_str, repo_dir->name, rc->commit_id, index_page_str, repo_dir->name, rc->commit_id); + if (r == -1) + goto done; free(age); age = NULL;