Description of problem: Using the library may lead to Segmentation fault. How reproducible: At any use of the library with a lot of lightning information Steps to Reproduce: 1. download a metar file, tgftp.nws.noaa.gov anonymous 2. Use the dcdMETAR function on a high number of statement (using one by one may not lead to this problem. Actual results: May cause a Segmentation fault => software crash. Additional info: The problem is due to a wrong NULL verification. Line : 1990 - 1993 : if( *string == NULL ) return FALSE; (--string); Should be : (--string); if( *string == NULL ) return FALSE;
Nice catch. I'm rebuilding the devel package right now, then I'll also backport the change, as well as another recent fix by Karsten Hopp, to all current branches.
mdsplib-0.11-9.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/mdsplib-0.11-9.fc10
mdsplib-0.11-9.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/mdsplib-0.11-9.fc9
mdsplib-0.11-9.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/mdsplib-0.11-9.fc11
mdsplib-0.11-9.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
mdsplib-0.11-9.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
mdsplib-0.11-9.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.