public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi
       [not found] <bug-10107-131@http.sourceware.org/bugzilla/>
@ 2014-06-30  9:17 ` fweimer at redhat dot com
  0 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30  9:17 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

* [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi
  2009-04-27 17:05 [Bug libc/10107] New: " rsa at us dot ibm dot com
                   ` (3 preceding siblings ...)
  2009-04-30 15:38 ` rsa at us dot ibm dot com
@ 2009-06-16 15:30 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2009-06-16 15:30 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-06-16 15:30 -------
Patch applied to git.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10107

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi
  2009-04-27 17:05 [Bug libc/10107] New: " rsa at us dot ibm dot com
                   ` (2 preceding siblings ...)
  2009-04-30 15:38 ` rsa at us dot ibm dot com
@ 2009-04-30 15:38 ` rsa at us dot ibm dot com
  2009-06-16 15:30 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2009-04-30 15:38 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|rsa at us dot ibm dot com   |drepper at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10107

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi
  2009-04-27 17:05 [Bug libc/10107] New: " rsa at us dot ibm dot com
  2009-04-27 17:08 ` [Bug libc/10107] " rsa at us dot ibm dot com
  2009-04-27 17:09 ` rsa at us dot ibm dot com
@ 2009-04-30 15:38 ` rsa at us dot ibm dot com
  2009-04-30 15:38 ` rsa at us dot ibm dot com
  2009-06-16 15:30 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2009-04-30 15:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From rsa at us dot ibm dot com  2009-04-30 15:38 -------
I attempted to produce a standalone testcase that would pass the high-word bits
of r5 as non-zero to the power6 memcpy but I was unable to get the compiler to
cooperate and reproduce the failure that I originally debugged.

Regardless, using cmpldi in 32-bit code is erroneous and in this case can cause
an overwrite of an array if r5 (length) parameter has bits set in the high-word
of the register.

Please check-in.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.10


http://sourceware.org/bugzilla/show_bug.cgi?id=10107

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi
  2009-04-27 17:05 [Bug libc/10107] New: " rsa at us dot ibm dot com
  2009-04-27 17:08 ` [Bug libc/10107] " rsa at us dot ibm dot com
@ 2009-04-27 17:09 ` rsa at us dot ibm dot com
  2009-04-30 15:38 ` rsa at us dot ibm dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2009-04-27 17:09 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-27 17:09:38
               date|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=10107

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi
  2009-04-27 17:05 [Bug libc/10107] New: " rsa at us dot ibm dot com
@ 2009-04-27 17:08 ` rsa at us dot ibm dot com
  2009-04-27 17:09 ` rsa at us dot ibm dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rsa at us dot ibm dot com @ 2009-04-27 17:08 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From rsa at us dot ibm dot com  2009-04-27 17:08 -------
Created an attachment (id=3911)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=3911&action=view)
cmpldi-to-cmplwi.diff

This is a fix to correct usage of cmpldi to cmplwi in the 32-bit POWER6
mem[cpy|set].  I'll attach a testcase shortly.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10107

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2014-06-30  9:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10107-131@http.sourceware.org/bugzilla/>
2014-06-30  9:17 ` [Bug libc/10107] 32-bit PowerPC POWER6 memcpy uses erroneous cmpldi but should use cmplwi fweimer at redhat dot com
2009-04-27 17:05 [Bug libc/10107] New: " rsa at us dot ibm dot com
2009-04-27 17:08 ` [Bug libc/10107] " rsa at us dot ibm dot com
2009-04-27 17:09 ` rsa at us dot ibm dot com
2009-04-30 15:38 ` rsa at us dot ibm dot com
2009-04-30 15:38 ` rsa at us dot ibm dot com
2009-06-16 15:30 ` drepper 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).