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

20030522: Out of bounds array in pngg2gini.c (ldm-mcidas)

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: 20030522: Out of bounds array in pngg2gini.c (ldm-mcidas)
  • Date: Thu, 22 May 2003 14:52:43 -0600

>From: Harry Edmon <address@hidden>
>Organization: University of Washington
>Keywords: 200305221937.h4MJbgLd005437 ldm-mcidas pngg2gini

Hi Harry,

>On line 367 in pngg2gini.c there is an assignment:
>
>      wmoprd[6] = '\0';
>
>wmoprd is declared:
>
>
>    char          wmoprd[6];
>
>
>Thus this statement is going outside the array bound!

Thanks for finding this!  I just updated the central source repository,
so the mod will be included in the next ldm-mcidas release.

Thanks again!

Tom