public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/16462] New: memcpy corrupted the data
@ 2014-01-17  5:59 glin at suse dot com
  2014-01-17  5:59 ` [Bug libc/16462] " glin at suse dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: glin at suse dot com @ 2014-01-17  5:59 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16462

            Bug ID: 16462
           Summary: memcpy corrupted the data
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: glin at suse dot com
                CC: drepper.fsp at gmail dot com

While building OVMF with glibc 2.18, some data in the intermediate C file were
corrupted. With git bisect, the culprit was identified:

https://sourceware.org/git/?p=glibc.git;a=commit;h=2d48b41c8fa610067c4d664ac2339ae6ca43e78c

After reverting the patch, everything works again.

Steps to reproduce:
1. clone the edk2 source code from https://github.com/tianocore/edk2

2. build the utility program with glibc 2.18
$ make -C BaseTools/

3. generate the intermediate C file with the attached files
./BaseTools/Source/C/bin/VfrCompile -l -n --string-db
SecureBootConfigDxeStrDefs.hpk --output-directory . SecureBootConfig.i

4. compare the generated SecureBootConfig.c with the correct one (attached
later)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-13  8:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17  5:59 [Bug libc/16462] New: memcpy corrupted the data glin at suse dot com
2014-01-17  5:59 ` [Bug libc/16462] " glin at suse dot com
2014-01-17  6:00 ` glin at suse dot com
2014-01-17  6:00 ` glin at suse dot com
2014-01-17  6:03 ` glin at suse dot com
2014-01-17  7:35 ` aj at suse dot de
2014-01-17  7:35 ` aj at suse dot de
2014-01-17  8:36 ` glin at suse dot com
2014-01-17 11:10 ` schwab@linux-m68k.org
2014-06-13  8:55 ` fweimer at redhat dot com

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).