Soon-to-be-attached patch reduces the number of times the "core" Xprint server component excessively calls strlen. Most were in the form "strlen(s)==0". A few prototype fixes, a small race condition fix, and a sprintf->snprintf are thrown in for good measure.
Created attachment 1922 [details] [review] reduce number of strlen calls, various small fixes
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug. ...Additionally, it's kind of sad that this patch languished. Adding the "patch" keyword to accelerate this bug's resolution in the (unlikely) case that this bug is ever addressed again.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.