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

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



>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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.