Added TODO highlighted by flawfinder.

This commit is contained in:
Andrew Wood
2023-08-14 22:54:02 +01:00
parent cc4d1a15e4
commit b2989efd5c
+1
View File
@@ -90,6 +90,7 @@ int main(int argc, char **argv)
*/
if (opts->pidfile != NULL) {
FILE *pidfptr;
/* TODO: safe open to temp file, rename to pidfile */
pidfptr = fopen(opts->pidfile, "w");
if (NULL == pidfptr) {
/*@-mustfreefresh@ *//* see above */