[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #ZKX-685122]: NetCDF-3.6.1 SEGV.
- Subject: [netCDF #ZKX-685122]: NetCDF-3.6.1 SEGV.
- Date: Mon, 05 Mar 2007 15:31:35 -0700
>
> I recently built and installed NetCDF-3.6.1 for an RHE4, x86_64
> system and, to test the installation, invoked ncdump with no arguments
> just to make sure it would execute. On one of the systems tried, it
> choked with a SEGV which I traced to a null pointer being passed to
> name_path() in ncdump.c.
>
> I took the symptomatic approach with the fix for which the
> diffs are pasted below. I doubt it's the best thing to do but I'm
> pressed for time here.
>
> I'm sorry if this has been reported and/or fixed already. I
> took a brief look at the mailing lists but saw nothing right away
> that appeared to match what I observed.
>
> Best regards,
> Phil
>
> P. A. Cheeseman
> address@hidden
> http://web.ics.purdue.edu/~aai/
> 765.496.8224
>
> RCS file: RCS/ncdump.c,v
> retrieving revision 1.1
> diff -r1.1 ncdump.c
> 88c88,91
> < cp = strrchr(path, FILE_DELIMITER);
> ---
> > if (path != NULL)
> > cp = strrchr(path, FILE_DELIMITER);
> > else
> > return(progname);
>
>
Thanks, this has been fixed in the just released version 3.6.2.
Ed
Ticket Details
===================
Ticket ID: ZKX-685122
Department: Support netCDF
Priority: Normal
Status: Closed