This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] bfd: rx: fix security warnings


On Mon, Nov 19, 2012 at 07:11:56PM -0500, Mike Frysinger wrote:
> Index: bfd/elf32-rx.c
> ===================================================================
> RCS file: /cvs/src/src/bfd/elf32-rx.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 elf32-rx.c
> --- bfd/elf32-rx.c	9 Nov 2012 17:00:40 -0000	1.21
> +++ bfd/elf32-rx.c	20 Nov 2012 00:10:47 -0000
> @@ -3040,7 +3040,7 @@ rx_elf_print_private_bfd_data (bfd * abf
>    flags = elf_elfheader (abfd)->e_flags;
>    fprintf (file, _("private flags = 0x%lx:"), (long) flags);
>  
> -  fprintf (file, describe_flags (flags));
> +  fprintf (file, "%s", describe_flags (flags));
>    return TRUE;
>  }
>  

Now fixed.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]