[Bug 1227316] gettext-runtime: msgcat fails on certain files
https://bugzilla.suse.com/show_bug.cgi?id=1227316 https://bugzilla.suse.com/show_bug.cgi?id=1227316#c9 --- Comment #9 from Stanislav Brabec <sbrabec@suse.com> --- Code inspection discovered that the header analysis code of message_list_header_list() is inspired by message_list_delete_header_field() in the same file. That one is apparently buggy as well. For example: message_list_delete_header_field(mlp, "Language") will delete not only "Language" tag line, but also "Language-Team". The code does not contain the check for ":" at the end of the tag. Markéta attempted to write a better parser without identifying the bug in the original code but failed as well. The original bug remains undiscovered for years, as the function is used only in some special XML files for deleting POT-Creation-Date. And available in bindings. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com