From 653eeaa2ba5d7a539faf2e4fda32820d987a7c3a Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 29 Apr 2021 20:18:26 -0600 Subject: * Crash in the ntlm authenticator when no domain was specified in the username. Reported and fixed by Anders Skargren. --- imap/src/c-client/auth_ntl.c | 4 ++-- pith/pine.hlp | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/imap/src/c-client/auth_ntl.c b/imap/src/c-client/auth_ntl.c index 7511303..9f88546 100644 --- a/imap/src/c-client/auth_ntl.c +++ b/imap/src/c-client/auth_ntl.c @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright 2018-2020 Eduardo Chappa + * Copyright 2018-2021 Eduardo Chappa * Copyright 2015 Imagination Technologies * Copyright 1988-2008 University of Washington * @@ -78,7 +78,7 @@ long auth_ntlm_client (authchallenge_t challenger, authrespond_t responder,char /* will override the domain requested with */ /* one returned by the challenge message */ sep = strchr (user, '\\'); - if (*sep) { + if (sep) { dlen = sep - user; ulen = strlen (sep + 1); memcpy (ubuf, sep + 1, ulen); diff --git a/pith/pine.hlp b/pith/pine.hlp index 22f4600..d973a0e 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -196,6 +196,14 @@ to add support for terminals that need lines to be deleted before being written. on a collaboration with Professor Martin Trusler. +

+Bugs addressed include: + +

+

The changes in version are as follows:

-- cgit v1.2.3-54-g00ecf