Bump version to 6.4.7.2.M8
[LibreOffice.git] / external / liblangtag / Wformat-overflow.patch
blobf2d017e4b3957a6b15f5b0611e4a7bce7434bfef
1 --- liblangtag/lt-script-db.c
2 +++ liblangtag/lt-script-db.c
3 @@ -134,8 +134,12 @@
4 cnode = cnode->next;
6 if (!subtag) {
7 - lt_warning("No subtag node: description = '%s'",
8 - desc);
9 + if (!desc) {
10 + lt_warning("No subtag nor description node");
11 + } else {
12 + lt_warning("No subtag node: description = '%s'",
13 + desc);
14 + }
15 goto bail1;
17 if (!desc) {