[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000322: nmap image display problem
- Subject: 20000322: nmap image display problem
- Date: Wed, 22 Mar 2000 17:22:05 -0700
This bug caused problems displaying/updating images
in nmap when ii > MAX_PIX and reading the time strings.
nprogs/nmap/source/nmap_image.c about line 149,
* convert the file names to time strings
*/
for ( ii = istart, jj = 0; ii < nn; ii++, jj++ ) {
image_getDttmFromFile(dnamelist[ii]->d_name, times[jj]);
ti_dtm4 ( times[jj], tarr[jj], &ignore,
strlen(times[jj]), sizeof(tarr[jj]) );
tarr[ii][13] = '\0';
}
tarr index ii should be jj when adding the NULL terminator:
tarr[jj][13] = '\0';
Steve Chiswell
Unidata User Support