Martin Li��ka changed bug 1090355
What Removed Added
Status NEW IN_PROGRESS
CC   agraf@suse.com, brogers@suse.com

Comment # 1 on bug 1090355 from
Adding maintainers of the package. Can you please push following patch to
mainline:

--- a/roms/ipxe/src/util/elf2efi.c    2018-02-14 22:54:42.000000000 +0100
+++ b/roms/ipxe/src/util/elf2efi.c    2018-04-20 12:39:57.942219247 +0200
@@ -491,7 +491,7 @@
     memset ( new, 0, sizeof ( *new ) + section_filesz );

     /* Fill in section header details */
-    strncpy ( ( char * ) new->hdr.Name, name, sizeof ( new->hdr.Name ) );
+    strncpy ( ( char * ) new->hdr.Name, name, sizeof ( new->hdr.Name ) - 1 );
     new->hdr.Misc.VirtualSize = section_memsz;
     new->hdr.VirtualAddress = shdr->sh_addr;
     new->hdr.SizeOfRawData = section_filesz;

It's valid warning. Thanks.


You are receiving this mail because: