Viktor Dukhovni:
> > 88. postfix-3.5.8/src/global/maillog_client.c:256:10: note: Null pointer
> > passed to 2nd parameter expecting 'nonnull'
> > # if (setenv(POSTLOG_SERVICE_ENV, service_path, 1) < 0)
> > # ^ ~~~~~~~~~~~~
> > # 254| msg_info("export %s=%s", POSTLOG_SERVICE_ENV, service_path);
> > # 255| #endif
> > # 256|-> if (setenv(POSTLOG_SERVICE_ENV, service_path, 1) < 0)
> > # 257| msg_fatal("setenv: %m");
> > # 258| }
>
> This looks plausible, but I'm not sure what the right fix is.
Not a problem. I have added comments that explain why service_path
cannot be null.
Wietse