commit cd2e14b68c560c11dbf52f71c51e6cfc039ab94e from: Stefan Sperling date: Mon Mar 11 09:49:09 2024 UTC fix segfault on startup in notify process commit - 0287c51fd28e5e622488c6c846e566b1f6ac5a9b commit + cd2e14b68c560c11dbf52f71c51e6cfc039ab94e blob - 737735dd220b97aca4196be82ead3b248119fe32 blob + 8006593f4b6573db6b15a7b3f726a26d0f4a6ecd --- gotd/parse.y +++ gotd/parse.y @@ -638,7 +638,8 @@ repository : REPOSITORY STRING { if (gotd_proc_id == PROC_GOTD || gotd_proc_id == PROC_AUTH || gotd_proc_id == PROC_REPO_WRITE || - gotd_proc_id == PROC_GITWRAPPER) { + gotd_proc_id == PROC_GITWRAPPER | + gotd_proc_id == PROC_NOTIFY) { new_repo = conf_new_repo($2); } free($2); @@ -650,7 +651,8 @@ repoopts1 : PATH STRING { if (gotd_proc_id == PROC_GOTD || gotd_proc_id == PROC_AUTH || gotd_proc_id == PROC_REPO_WRITE || - gotd_proc_id == PROC_GITWRAPPER) { + gotd_proc_id == PROC_GITWRAPPER || + gotd_proc_id == PROC_NOTIFY) { if (!got_path_is_absolute($2)) { yyerror("%s: path %s is not absolute", __func__, $2);