URL: <https://savannah.gnu.org/bugs/?65242>
Summary: [gropdf] should validate and diagnose ill-formed "download" files Group: GNU roff Submitter: gbranden Submitted: Sat 03 Feb 2024 12:32:11 AM UTC Category: Driver gropdf Severity: 3 - Normal Item Group: Warning/Suspicious behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sat 03 Feb 2024 12:32:11 AM UTC By: G. Branden Robinson <gbranden> If I slip to _gropdf_ a "download" file with only two tab-separated fields instead of three, I get the following spew. Use of uninitialized value $file in substr at /home/branden/groff-HEAD/bin/gropdf line 1167, <__ANONIO__> line 1. Use of uninitialized value $file in substr at /home/branden/groff-HEAD/bin/gropdf line 1174, <__ANONIO__> line 1. Use of uninitialized value $file in concatenation (.) or string at /home/branden/groff-HEAD/bin/gropdf line 1174, <__ANONIO__> line 1. In my opinion, _gropdf_ should check that the lines in the "download" file are of satisfactory form, and throw a complaining diagnostic if they aren't. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65242> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/