Your message dated Mon, 15 Oct 2007 07:49:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#368106: fixed in metar 20061030.1-1 (was: Re: #368106: 
metar: wrong cloud levels)
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: metar
Version: 20060405.1-1
Severity: normal

Hi, 

metar is reporting wrong cloud levels.

I think that replacing the number "3" with the "99" will fix
the problem, as in the patch below:

--- metar-20060405.1.orig/src/metar.c
+++ metar-20060405.1/src/metar.c
@@ -350,7 +350,7 @@
                memcpy(&cloud->type, token+pmatch[1].rm_so, (size < 3 ? size : 
3));
                
                size=pmatch[2].rm_eo - pmatch[2].rm_so;
-               memset(tmp, 0x0, 3);
+               memset(tmp, 0x0, 99);
                memcpy(tmp, token+pmatch[2].rm_so, (size < 3 ? size : 3));
                sscanf(tmp, "%d", (int*)&cloud->level);

Thanks,

Jakson

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages metar depends on:
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libcurl3-gnutls               7.15.3-1   Multi-protocol file transfer libra

metar recommends no packages.

-- no debconf information




--- End Message ---
--- Begin Message ---
Source: metar
Source-Version: 20061030.1-1

For some reason this one didn't get automagically closed
after upload.  Therefore, closing it manually now.

Bye,

Joost

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to