ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Добавление -Werror=format-security
Date: Wed, 3 Jun 2009 05:21:02 +0400
Message-ID: <200906030521.04774.lav@altlinux.ru> (raw)

Есть предложение добавить в стандартные флаги (CFLAGS)
-Werror=format-security
Предотвращает конструкции вида
*printf(msg)
где msg - форматная строка неизвестного содержания.
Наткнулся на это в Mandriva.

P.S.
Мой мотив - чтобы у нас система проверки была не менее строгой, 
чем в других системах.

-- 
С уважением,
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


             reply	other threads:[~2009-06-03  1:21 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03  1:21 Vitaly Lipatov [this message]
2009-06-03  4:15 ` Afanasov Dmitry
2009-06-03  5:41   ` Pavel Solntsev
2009-06-03  7:45 ` Led
2009-06-03  8:28   ` Pavel Solntsev
2009-06-03 10:23     ` Michael Shigorin
2009-06-03 10:32       ` Alexey Rusakov
2009-06-03 10:54 ` Dmitry V. Levin
2009-06-03 11:20   ` Dmitry V. Levin
2009-06-03 11:35     ` Ivan A. Melnikov
2009-06-03 11:49     ` Led
2009-06-03 11:52       ` Slava Semushin
2009-06-03 11:52       ` Damir Shayhutdinov
2009-06-03 11:59         ` Damir Shayhutdinov
2009-06-03 12:07           ` Led
2009-06-03 12:10             ` Damir Shayhutdinov
2009-06-03 12:04         ` Led
2009-06-03 11:54       ` Afanasov Dmitry
2009-06-03 12:05         ` Led
2009-06-03 12:11           ` Afanasov Dmitry
2009-06-03 12:19             ` Led
2009-06-03 13:12               ` Afanasov Dmitry
2009-06-03 21:23       ` Dmitry V. Levin
2009-06-03 21:14     ` Dmitry V. Levin
2009-06-03 21:30       ` Alexey Tourbin
2009-06-03 21:36         ` Dmitry V. Levin
2009-06-03 22:05         ` Led
2009-06-03 22:45           ` Dmitry V. Levin
2009-06-04  3:13             ` Alexey Tourbin
2009-06-04 20:14               ` Alexey Rusakov
2009-06-04 20:30                 ` Led
2009-06-06 12:42                   ` [devel] [JT] icc (was: Добавление -Werror=format-security) Michael Shigorin
2009-06-06 22:12                     ` Konstantin Pavlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200906030521.04774.lav@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git