From faae8f470b3f1cec6b77c7844b78ac64ce2845b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 24 May 2014 18:18:11 +0200 Subject: relay: check pointers received in hdata command to prevent crashes with bad pointers (WeeChat protocol) --- po/cs.po | 10 +++++++++- po/de.po | 10 +++++++++- po/es.po | 10 +++++++++- po/fr.po | 12 ++++++++++-- po/hu.po | 10 +++++++++- po/it.po | 10 +++++++++- po/ja.po | 32 ++++++++++++++++++++------------ po/pl.po | 10 +++++++++- po/pt_BR.po | 10 +++++++++- po/ru.po | 10 +++++++++- po/tr.po | 10 +++++++++- po/weechat.pot | 10 +++++++++- 12 files changed, 120 insertions(+), 24 deletions(-) (limited to 'po') diff --git a/po/cs.po b/po/cs.po index 63463cf08..ee2611d45 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -9312,6 +9312,14 @@ msgstr "%s: poslouchám na portu %d (přesměrování %s.%s, maximálně %d klie msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: nedostatek paměti pro poslouchání na portu" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%sChyba: nemohu odpojit klávesu \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s%s: nekorektní znaková sada: \"%s\"" + #, fuzzy, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "%s%s: selhalo parsování příkazu \"%s\" (prosím oznamte to vývojárům):" diff --git a/po/de.po b/po/de.po index aca78583a..f319606db 100644 --- a/po/de.po +++ b/po/de.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-05-13 23:58+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -10437,6 +10437,14 @@ msgstr "%s: Lausche am Port %d (Relay: %s,%s, Max.: %d Clients)" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: Nicht genug Speicher um an einem neuen Port zu lauschen" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%s%s: ungültiger Rückgabewert \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s%s: ungültige Verbindungsadresse \"%s\" für %s" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "" diff --git a/po/es.po b/po/es.po index 905de24ba..0480cfb84 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -9609,6 +9609,14 @@ msgstr "%s: escuchando en el puerto %d (repetidor: %s, %s, max %d clientes)" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: no hay memoria suficiente para escuchar en un nuevo puerto" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%sError: no se pudo deshacer el atajo \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s%s: set de caracteres inválido: \"%s\"" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "%s%s: falló la ejecución del comando \"%s\" por el cliente %s%s%s" diff --git a/po/fr.po b/po/fr.po index 16fd973c9..70b2eeec3 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" -"PO-Revision-Date: 2014-05-13 22:27+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" +"PO-Revision-Date: 2014-05-24 18:04+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -10204,6 +10204,14 @@ msgstr "%s : écoute sur le port %d (relai : %s, %s, max %d clients)" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s : pas assez de mémoire pour écouter sur le nouveau port" +#, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%s : pointeur invalide dans le chemin hdata : \"%s\"" + +#, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s : pointeur de tampon invalide dans le message : \"%s %s\"" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "%s%s : échec d'exécution de la commande \"%s\" pour le client %s%s%s" diff --git a/po/hu.po b/po/hu.po index f202ff5d9..207c9f88b 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-05 16:12+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -8693,6 +8693,14 @@ msgstr "%s nem sikerült a csatornát létrehozni\n" msgid "%s%s: not enough memory for listening on new port" msgstr "%s nincs elegendő memória új DCC számára\n" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%s nem sikerült a(z) \"%s\" billentyűparancsot visszavonni\n" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" + #, fuzzy, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" diff --git a/po/it.po b/po/it.po index b497f5e5e..4a5a95a09 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -9776,6 +9776,14 @@ msgstr "%s: in ascolto sulla porta %d (relay: %s, %s, massimo %d client)" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: memoria non sufficiente per l'ascolto su una nuova porta" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%sErrore: impossibile rimuovere la combinazione del tasto \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s%s: set di caratter invalido: \"%s\"" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "%s%s: impossibile eseguire il comando \"%s\" per il client %s%s%s" diff --git a/po/ja.po b/po/ja.po index ab5c7ca5d..ec15c3ff6 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-05-15 12:40+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -40,11 +40,11 @@ msgid "max chars" msgstr "最大文字数" msgid "" -"a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)" -"green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal " -"color number or an alias; attributes are allowed before color (for text " -"color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" for " -"italic, \"_\" for underline" +"a WeeChat color name (default, black, (dark)gray, white, (light)red, " +"(light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a " +"terminal color number or an alias; attributes are allowed before color (for " +"text color only, not background): \"*\" for bold, \"!\" for reverse, \"/\" " +"for italic, \"_\" for underline" msgstr "" "WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、" "brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号ま" @@ -5810,8 +5810,8 @@ msgstr "" " - 内部サーバ名 (/server add で作成されたもの、利用推奨)\n" " - ホスト名/ポート番号、又は IP アドレス/ポート番号 (これは一時的" "サーバを作る)、デフォルトのポート番号は 6667\n" -" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:password]@]" -"irc.example.org[:port][/#channel1][,#channel2[...]]\n" +" - 次のフォーマットに従う URL: irc[6][s]://[nickname[:" +"password]@]irc.example.org[:port][/#channel1][,#channel2[...]]\n" " option: サーバに関するオプション (ブール型オプションでは、value は無視さ" "れる)\n" " nooption: ブール型オプションを 'off' にする (例: -nossl)\n" @@ -9826,6 +9826,14 @@ msgstr "" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: 新しいポートをリッスンするためのメモリ不足" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%s%s: 無効なリターンコード \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%1$s%2$s: %4$s 用に割り当てた不正なアドレス \"%3$s\"" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "" @@ -10683,8 +10691,8 @@ msgid "" "Examples (you can also look at default triggers with /trigger listdefault):\n" " add text attributes *bold*, _underline_ and /italic/ (only in user " "messages):\n" -" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*" -"(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:" +" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==" +"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:" "underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-" "italic}/\"\n" " hide nicklist bar on small terminals:\n" @@ -10758,8 +10766,8 @@ msgstr "" "\n" "例 (/trigger listdefault でデフォルトトリガを見ることができます):\n" " テキスト属性 *太字*、_下線_、/イタリック/ を追加 (ユーザメッセージのみ):\n" -" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==\\*" -"(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:" +" /trigger add effects modifier weechat_print \"${tg_tag_nick}\" \"==" +"\\*(\\S+)\\*==*${color:bold}$1${color:-bold}*== ==_(\\S+)_==_${color:" "underline}$1${color:-underline}_== ==/(\\S+)/==/${color:italic}$1${color:-" "italic}/\"\n" " 狭い端末ではニックネームリストバーを隠す:\n" diff --git a/po/pl.po b/po/pl.po index 1938fe904..dedff0bcf 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -9953,6 +9953,14 @@ msgstr "%s: nasłuchuję na porcie %d (relay: %s, %s, max %d klientów)" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: za mało pamięci do nasłuchu na nowym porcie" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%sBłąd: nie można od bindować klawisza \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s%s: niepoprawny adres powiązania \"%s\" dla %s" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "%s%s: nie udało się wykonać komendy \"%s\" dla klienta %s%s%s" diff --git a/po/pt_BR.po b/po/pt_BR.po index 38db5e303..390a7a7f9 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-05 16:12+0200\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" @@ -8955,6 +8955,14 @@ msgstr "%s: escutando na porta %d (relay: %s.%s, máximo de %d clientes)" msgid "%s%s: not enough memory for listening on new port" msgstr "%s%s: memória insuficiente para escutar na nova porta" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%sErro: não foi possível desassociar a tecla de atalho \"%s\"" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%s%s: charset inválido: \"%s\"" + #, fuzzy, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "%s%s: falha ao executar comando \"%s\" para cliente %d" diff --git a/po/ru.po b/po/ru.po index c62996bf0..9ef72778c 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-04-05 16:12+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -8718,6 +8718,14 @@ msgstr "%s невозможно создать сокет\n" msgid "%s%s: not enough memory for listening on new port" msgstr "%s недостаточно памяти для нового DCC\n" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%s не могу отвязать клавишу \"%s\"\n" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "Не могу записать лог-файл \"%s\"\n" + #, fuzzy, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "Не могу записать лог-файл \"%s\"\n" diff --git a/po/tr.po b/po/tr.po index 87f092e60..9fa939a40 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -7821,6 +7821,14 @@ msgstr "" msgid "%s%s: not enough memory for listening on new port" msgstr "" +#, fuzzy, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "%sHata: dosya \"%s\" oluşturulamaz" + +#, fuzzy, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "%sHata: dosya \"%s\" oluşturulamaz" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index eb0bb0aca..e616b4eb3 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.1-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-13 22:26+0200\n" +"POT-Creation-Date: 2014-05-24 18:00+0200\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -7766,6 +7766,14 @@ msgstr "" msgid "%s%s: not enough memory for listening on new port" msgstr "" +#, c-format +msgid "%s: invalid pointer in hdata path: \"%s\"" +msgstr "" + +#, c-format +msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgstr "" + #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" msgstr "" -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0