bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Possible bug...


From: djh
Subject: [bug-mailutils] Possible bug...
Date: Mon, 28 Nov 2005 16:43:18 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728

Apparently in .../mh/send.c the following function, starting at around line # 275

--------------------------------------------
read_mts_profile ()
{
  char *p;

  p = mh_expand_name (MHLIBDIR, "mtstailor", 0);
  if (!p)
    {
      char *home = mu_get_homedir ();
      ..... processing to get .mtstailor file from user's home dir.
    }

-------------------------------------------
p is being assigned an expanded pathname, but no checking is being done to see if the file exists or not. It looks like p will never == 0.

Therefore processing never gets to look at the file: $HOME/.mtstailor

That's how it looks like to me, but I'm not that familiar with all of the code involved.

Regards,
  darel j. henman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]