https://bugzilla.redhat.com/show_bug.cgi?id=1733869
Sundeep Anand suanand@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTABUG Status|ASSIGNED |CLOSED Last Closed| |2022-12-13 07:05:12
--- Comment #7 from Sundeep Anand suanand@redhat.com --- [suanand@fedora doublefree]$ gettext --version gettext (GNU gettext-runtime) 0.21 Copyright (C) 1995-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper.
[suanand@fedora doublefree]$ valgrind msgfmt poc ==26634== Memcheck, a memory error detector ==26634== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==26634== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info ==26634== Command: msgfmt poc ==26634== poc:17: duplicate message definition... poc:16: ...this is the location of the first definition poc:18:3: syntax error poc:18: keyword "n" unknown poc:19: end-of-line within string poc:28: duplicate message definition... poc:24: ...this is the location of the first definition poc:35: keyword "msgud_plural" unknown poc:34: missing 'msgstr' section poc:35:13: syntax error poc:40: end-of-line within string poc:46: end-of-line within string poc: warning: Charset missing in header. Message conversion to user's charset will not work. poc:42: duplicate message definition... poc:6: ...this is the location of the first definition poc:46:2: syntax error poc:46: keyword "Ep" unknown poc:47: keyword "C" unknown poc:48: keyword "s" unknown poc:49: keyword "bo" unknown poc:50: keyword "S" unknown poc:50:236: invalid control sequence poc:50:397: invalid control sequence poc:51: end-of-line within string msgfmt: too many errors, aborting ==26634== ==26634== HEAP SUMMARY: ==26634== in use at exit: 41,139 bytes in 117 blocks ==26634== total heap usage: 578 allocs, 461 frees, 84,922 bytes allocated ==26634== ==26634== LEAK SUMMARY: ==26634== definitely lost: 650 bytes in 82 blocks ==26634== indirectly lost: 0 bytes in 0 blocks ==26634== possibly lost: 0 bytes in 0 blocks ==26634== still reachable: 40,489 bytes in 35 blocks ==26634== suppressed: 0 bytes in 0 blocks ==26634== Rerun with --leak-check=full to see details of leaked memory ==26634== ==26634== For lists of detected and suppressed errors, rerun with: -s ==26634== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
This looks better with latest gettext.