On Wed, 17 Nov 2004 07:53:29 +0100 Christian Biere <[EMAIL PROTECTED]> wrote:
> While I wanted to fix this single issue I've noticed that there are > a couple of translated format strings that don't match the original > versions with respect to the format parameters. I've tried --check > and --check-format using msgfmt and still get no warning. Does gettext > silently fix this at runtime (by modifying the string?) or does this > mean there is a bunch of format string vulnerabilities? I might help you. If you mentioned the following case, there is no problem. A msgfmt compiles de.po ignoring this strings. #: src/ui/gtk/settings.c:1095 #, fuzzy, c-format msgid "%u/%u host (%u%%)" msgstr "%v/%u (%P%%)" But a compilation was successfully even if the following case, it's something wrong. #: src/ui/gtk/settings.c:1095 #, c-format msgid "%u/%u host (%u%%)" msgstr "%v/%u (%P%%)" #: src/ui/gtk/settings.c:1095 msgid "%u/%u host (%u%%)" msgstr "%v/%u (%P%%)" In another case, if you mentioned the following, in other words incorrespondence of string length, umm... I can't know it can be format violation... #: src/ui/gtk/gtk1/interface-glade.c:4609 msgid "queued" msgstr "In Warteschlange gestellt" If there is something else, would you tell me. Thank you. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
