Am 21.06.24 um 01:57 schrieb Bernhard Übelacker:

Especially the third point is puzzling, I could not yet see why this pointer-content-mixup happens.


Hello David, hello Axel,
I did some further tests and found following location where cli_program
is delared here:

  ./lib/cli++/cli++.h:35:extern const char* cli_program;

But the defintion looks a bit different:

  ./src/smtpd.cc:55:extern const char cli_program[] = "nullmailer-smtpd";


A package built with following change does no longer show this crash.

Kind regards,
Bernhard


--- src/smtpd.cc.orig   2023-04-22 19:06:36.000000000 +0200
+++ src/smtpd.cc        2024-06-21 10:45:25.982395298 +0200
@@ -53,5 +53,5 @@ static mystring sender;
 static mystring recipients;
-extern const char cli_program[] = "nullmailer-smtpd";
+const char* cli_program = "nullmailer-smtpd";
static int readline()

Reply via email to