NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On Wed, 7 Aug 2002, Steve Ochani wrote: > Is this patch publicly available? Or will it be incorporated into the next minor version? > Hiya, The patch only applies to ldm-users who are running pqsurf. The problem was the processing of the short NIL type bulletins that caused buffer overflow. Of course, the patch will be included in the next minor version of the LDM that will be released soon. To get the code: The surf_split.c file is located in the ftp directory under pub/ldm5 To install the code: Copy the surf_split.c into the src/pqsurf directory type: % cd src/pqsurf % make % cp pqsurf ../../bin stop/start the ldm. For users of of the patch program the follow patch is included for surf_split.c. Robb... Index: surf_split.c =================================================================== RCS file: /upc/share/CVS/ldm5/pqsurf/surf_split.c,v retrieving revision 1.36 diff -r1.36 surf_split.c 172,173c172,179 < memcpy( header, datap, 48 ); < header[48] = '\0'; --- > /* inspect header as a string to see if to use PIL processing */ > if(infop->sz > 48 ) { > memcpy( header, datap, 48 ); > header[48] = '\0'; > } else { > memcpy( header, datap, infop->sz ); > header[infop->sz] = '\0'; > } > > > On 7 Aug 2002 at 17:37, Gilbert Sebenste wrote: > > > Hello all, > > > > Weather2.admin.niu.edu, and my other machines, are running successfully on > > LDM 5.2 with a patch. We were getting memfault errors with the pqsurf > > program that brought down the entire LDM. I've now gone a full 24 hours on > > it with no problems, by far and away the longest period without it > > crashing. The patch is a success! I'll monitor tonight and each night > > through Friday, as well as this weekend, but it looks like this problem > > has been nipped in the bud. BTW, this only appears to be a RedHat thing, > > as it doesn't do this on Solaris. Glibc is a little pickier on Linux, I > > guess! > > > > «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» > Education is what remains after one has forgotten everything he > learned in school. -Albert Einstein > > Steve O. > http://www.steveo.us > > See updated NCC weather conditions at > http://wr.psi.ncc.edu/~data > > http://www.ncc.edu/dptpages/physci/ > > http://www.hitechcreations.com/ > Come fly the unfriendly skies > > > > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research rkambic@xxxxxxxxxxxxxxxx WWW: http://www.unidata.ucar.edu/ ===============================================================================
ldm-users
archives: