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.
Jose, Thanks. We'll fix that. Steve Chiswell Unidata User Support >From: "Jose F. Nieves" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200512271928.jBRJSs7s024534 >gempak-5.9.1 compiled on freebsd-6.0 on amd64 in 64 bit mode. > >radmap_sw tool gives a segmentation fault error. > >Traced to > line: 120 > file: source/driver/active/gif/wsatim.c > > /* > * Insert null at end of file name. > */ > filnam[*lenfil] = '\0'; > >Problem: seems to be that lenfil is declared as > > long int *lenfil > > in the argument list, but it is passed an int* from the function > hsatim() in hsatim.f, so lenfil in wsatim() is probably reading > some 32 extra bytes of junk, and filnam[*lenfil] is out of bounds. > >Jose F Nieves > -- 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.