From 65cbff6efe9cb8b646b5c8b4c9cda431af60ed70 Mon Sep 17 00:00:00 2001 From: Andrey Slusar Date: Mon, 29 Jan 2007 10:55:59 +0000 Subject: Fix tossing, when `packet' in passwd defined. --- news/fidogate-ds/files/patch-ftntoss.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 news/fidogate-ds/files/patch-ftntoss.c (limited to 'news/fidogate-ds/files') diff --git a/news/fidogate-ds/files/patch-ftntoss.c b/news/fidogate-ds/files/patch-ftntoss.c new file mode 100644 index 000000000000..3ce64bd5fe2d --- /dev/null +++ b/news/fidogate-ds/files/patch-ftntoss.c @@ -0,0 +1,11 @@ +--- src/toss/ftntoss.c.orig Mon Jan 29 12:53:14 2007 ++++ src/toss/ftntoss.c Mon Jan 29 12:53:22 2007 +@@ -882,7 +882,7 @@ + #endif /* !SECURITY */ + + if (NULL != (pwd = passwd_lookup("packet", &msg->node_from)) && +- !stricmp(pkt->passwd, pwd->passwd)) ++ stricmp(pkt->passwd, pwd->passwd)) + { + fglog("Insecure echomail packet from %s, area %s (%s pkt password)", + znfp1(&msg->node_from), areaname, -- cgit v1.2.3