commit 1510f72d86432ddfe0f08cc35fe89497c82bf7f1 from: Omar Polo via: Thomas Adam date: Fri Sep 02 15:54:01 2022 UTC gotwebd: add missing fcgi_printf return check dead store found by clang' scan-build. commit - fb3a8240761404943fd35b3d2c3311e68c0683e4 commit + 1510f72d86432ddfe0f08cc35fe89497c82bf7f1 blob - 22e3e584b6fde60805d0242f9cc2fa7867e5f1d2 blob + 61bc911fa12a4be1f7cf0e0519e4d09df8edb09c --- 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;