Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2000 17:49:08 +0800 (PHT)
From:      "Francis A. Vidal" <francis@usls.edu>
To:        igorr@crosswinds.net
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Default IMAP INBOX to $HOME/Mailbox
Message-ID:  <Pine.BSF.4.21.0009221746120.2284-100000@atlas.usls.edu>
In-Reply-To: <20000922082633.B1004@linux.rainbow>

next in thread | previous in thread | raw e-mail | index | archive | help
---- Quoting Igor Roboul's message, sent 09/22/00 8:26am ----

> On Thu, Sep 21, 2000 at 07:54:48PM -0400, Troy Settle wrote:
> >    char tmp[MAILTMPLEN];
> >    if (!sysInbox) {		/* initialize if first time */
> > -    sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
> > +    sprintf (tmp,"%s/%s",myhomedir(),".mail");
> Do we have here potential buffer overflow?
> maybe we need
>   snprintf(tmp,MAILTMPLEN-1,"%s/%s",myhomedir(),".mail");

Igor,

I've been compiling the IMAP-UW package again and again but I get the
same results. It still gets the INBOX in /var/mail and not the user's
home directory. It's frustrating... maybe I should downgrade IMAP --
what version is safe?

-- 
francis vidal	university of st. la salle, bacolod city, philippines
. . . . . . .	PGP key available via e-mail / subject: get PGP key
u s l s N E T	tel nos. (+63.34).433.3526 / fax (+63.34).434.0415



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009221746120.2284-100000>