<<< Date Index >>>     <<< Thread Index >>>

bug#1803: marked as done (mutt-1.5.6i: Type problem in imap/util.c)



Your message dated Mon, 12 Apr 2004 22:41:28 +0200
with message-id <20040412204128.GS5807@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
and subject line bug#1803: mutt-1.5.6i: Type problem in imap/util.c
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 13 Feb 2004 10:44:54 +0000
>From vincent@xxxxxxxxxx Fri Feb 13 11:44:52 2004
Received: from greux.loria.fr ([152.81.2.43])
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1AraoW-0003VO-00
        for <submit@xxxxxxxxxxxx>; Fri, 13 Feb 2004 11:44:52 +0100
Received: from lefevre by greux.loria.fr with local (Exim 4.30)
        id 1Araqj-0004j7-3w; Fri, 13 Feb 2004 11:47:09 +0100
From: vincent@xxxxxxxxxx
Subject: mutt-1.5.6i: Type problem in imap/util.c
To: submit@xxxxxxxxxxxx
Message-Id: <E1Araqj-0004j7-3w@xxxxxxxxxxxxxx>
Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
Date: Fri, 13 Feb 2004 11:47:09 +0100
X-Spam-Status: No, hits=-101.8 required=4.0
        tests=AWL,NO_REAL_NAME,UPPERCASE_25_50,USER_IN_WHITELIST
        version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Package: mutt
Version: 1.5.5.1-200401
Severity: normal

-- Please type your report below this line

When compiling Mutt, I get the following warning:

util.c: In function `imap_parse_path':
util.c:151: warning: short int format, short unsigned int arg (arg 3)

coming from

      if (sscanf (tmp, ":%hd%127s", &(mx->account.port), tmp) >= 1)

IMHO, it should have been

      if (sscanf (tmp, ":%hu%127s", &(mx->account.port), tmp) >= 1)

-- Build environment information

(Note: This is the build environment installed on the system
muttbug is run on.  Information may or may not match the environment
used to build mutt.)

- gcc version information
cc
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada 
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 (Debian)

- CFLAGS
-Wall -pedantic -g -O2

-- Mutt Version Information

Mutt 1.5.6i (2004-02-01)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.24 (i686) [using ncurses 5.3] [using libidn 0.1.14 (compiled 
with 0.1.14)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL  -USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/home/lefevre/share/mutt"
SYSCONFDIR="/home/lefevre/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.3.24.ats.parent_match.1
patch-1.5.1.vl.savehist.1

---------------------------------------
Received: (at 1803-done) by bugs.guug.de; 12 Apr 2004 20:39:26 +0000
>From roessler+bounce@xxxxxxxxxxxxxxxxxx Mon Apr 12 22:39:15 2004
Received: from does-not-exist.info ([217.160.221.198] 
helo=kamino.does-not-exist.org)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1BD8D5-0003IS-00
        for <1803-done@xxxxxxxxxxxx>; Mon, 12 Apr 2004 22:39:15 +0200
Received: from raktajino.does-not-exist.org (p5085647F.dip0.t-ipconnect.de 
[80.133.100.127])
        (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
        (No client certificate requested)
        by kamino.does-not-exist.org (Postfix) with ESMTP
        id A0580193368; Mon, 12 Apr 2004 22:42:11 +0200 (CEST)
Received: by raktajino.does-not-exist.org (Postfix, from userid 500)
        id 33BD38497D; Mon, 12 Apr 2004 22:41:28 +0200 (CEST)
Date: Mon, 12 Apr 2004 22:41:28 +0200
From: Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
To: vincent@xxxxxxxxxx, 1803-done@xxxxxxxxxxxx
Subject: Re: bug#1803: mutt-1.5.6i: Type problem in imap/util.c
Message-ID: <20040412204128.GS5807@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <E1Araqj-0004j7-3w@xxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1Araqj-0004j7-3w@xxxxxxxxxxxxxx>
User-Agent: Mutt/1.5.6i
X-Spam-Status: No, hits=-107.9 required=4.0
        tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
              REFERENCES,REPLY_WITH_QUOTES,UPPERCASE_25_50,
              USER_AGENT_MUTT,USER_IN_WHITELIST
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Thanks, committed.

On 2004-02-13 11:47:09 +0100, vincent@xxxxxxxxxx wrote:
> From: vincent@xxxxxxxxxx
> To: submit@xxxxxxxxxxxx
> Date: Fri, 13 Feb 2004 11:47:09 +0100
> Subject: bug#1803: mutt-1.5.6i: Type problem in imap/util.c
> Reply-To: vincent@xxxxxxxxxx, 1803@xxxxxxxxxxxx
> Orignal-Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
> X-Spam-Level: 
> 
> Package: mutt
> Version: 1.5.5.1-200401
> Severity: normal
> 
> -- Please type your report below this line
> 
> When compiling Mutt, I get the following warning:
> 
> util.c: In function `imap_parse_path':
> util.c:151: warning: short int format, short unsigned int arg (arg 3)
> 
> coming from
> 
>       if (sscanf (tmp, ":%hd%127s", &(mx->account.port), tmp) >= 1)
> 
> IMHO, it should have been
> 
>       if (sscanf (tmp, ":%hu%127s", &(mx->account.port), tmp) >= 1)
> 
> -- Build environment information
> 
> (Note: This is the build environment installed on the system
> muttbug is run on.  Information may or may not match the environment
> used to build mutt.)
> 
> - gcc version information
> cc
> Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
> Configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada 
> --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
> --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared 
> --with-system-zlib --enable-nls --without-included-gettext 
> --enable-__cxa_atexit --enable-clocale=gnu --enable-objc-gc i386-linux
> Thread model: posix
> gcc version 3.2.3 (Debian)
> 
> - CFLAGS
> -Wall -pedantic -g -O2
> 
> -- Mutt Version Information
> 
> Mutt 1.5.6i (2004-02-01)
> Copyright (C) 1996-2002 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
> 
> System: Linux 2.4.24 (i686) [using ncurses 5.3] [using libidn 0.1.14 
> (compiled with 0.1.14)]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
> +USE_FCNTL  -USE_FLOCK
> +USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL  -USE_SASL2  
> +HAVE_REGCOMP  -USE_GNU_REGEX  
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
> +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  
> -CRYPT_BACKEND_GPGME  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
> +ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
> +HAVE_LANGINFO_YESEXPR  
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  
> ISPELL="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/home/lefevre/share/mutt"
> SYSCONFDIR="/home/lefevre/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
> 
> patch-1.3.24.ats.parent_match.1
> patch-1.5.1.vl.savehist.1
> 

-- 
Thomas Roessler                       <roessler@xxxxxxxxxxxxxxxxxx>