Re: [MOD] STR #4119: _cupsLangPuts() does not work correctly with string ""
Michael Sweet <[email protected]>
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L4119 Version: 1.6-current Fix Version: 1.6-current (r10530) _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs
str4119.patch
(text/plain, 339 B)
Index: cups/language.c
===================================================================
--- cups/language.c (revision 10526)
+++ cups/language.c (working copy)
@@ -788,7 +788,7 @@
* Range check input...
*/
- if (!lang || !message)
+ if (!lang || !message || !*message)
return (message);
_cupsMutexLock(&lang_mutex);