All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burton, Ross" <ross.burton@intel.com>
To: "André Draszik" <git@andred.net>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] security_flags.inc: libidn fails to build w/ -Wformat-security
Date: Mon, 27 Jun 2016 10:10:40 +0100	[thread overview]
Message-ID: <CAJTo0La+NmXWrJW4hp9e2JtqB2DTeREfOYhhLi4MJWqkZygc3g@mail.gmail.com> (raw)
In-Reply-To: <1466765962-23197-1-git-send-email-git@andred.net>

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

On 24 June 2016 at 11:59, André Draszik <git@andred.net> wrote:

> ../../libidn-1.32/src/idn.c: In function 'main':
> ../../libidn-1.32/src/idn.c:172:7: error: format not a string literal and
> no format arguments [-Werror=format-security]
>        error (0, 0, _("only one of -s, -e, -d, -a, -u or -n can be
> specified"));
>

As libidn will be dealing with data from the network it seems like the sort
of package that should be built with format-security enabled.  Wouldn't it
be better to fix up the calls to error() instead?

Ross

[-- Attachment #2: Type: text/html, Size: 970 bytes --]

  reply	other threads:[~2016-06-27  9:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 10:59 [PATCH] security_flags.inc: libidn fails to build w/ -Wformat-security André Draszik
2016-06-27  9:10 ` Burton, Ross [this message]
2016-06-27  9:42   ` Alexander Kanavin
2016-06-28 11:55     ` André Draszik

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=CAJTo0La+NmXWrJW4hp9e2JtqB2DTeREfOYhhLi4MJWqkZygc3g@mail.gmail.com \
    --to=ross.burton@intel.com \
    --cc=git@andred.net \
    --cc=openembedded-core@lists.openembedded.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.