public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: Mark Wielaard <mark@klomp.org>, binutils@sourceware.org
Subject: Re: [PATCH] binutils: Fix calloc argument order in coffgrok.c
Date: Mon, 22 Jan 2024 17:16:12 +0000	[thread overview]
Message-ID: <b02e3914-b163-44bf-9127-3cf347700ed1@redhat.com> (raw)
In-Reply-To: <20240121234112.579191-1-mark@klomp.org>

Hi Mark,

> GCC 14 will warn about calling calloc with swapped size and count
> arguments.

> binutils/
> 
> 	* coffgrok.c (empty_scope): Swap xcalloc arguments.
> 	(empty_symbol): Likewise.
> 	(do_lines): Likewise.
> 	(doit): Likewise.
> 	(coff_grok): Likewise.

Approved - please apply.

Cheers
   Nick


      reply	other threads:[~2024-01-22 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 23:41 Mark Wielaard
2024-01-22 17:16 ` Nick Clifton [this message]

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=b02e3914-b163-44bf-9127-3cf347700ed1@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=mark@klomp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).