public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Possible bug in siginfo64to32()
@ 2001-05-02 19:29 David Engebretsen
  2001-05-02 19:37 ` Don Dugger
  0 siblings, 1 reply; 2+ messages in thread
From: David Engebretsen @ 2001-05-02 19:29 UTC (permalink / raw)
  To: linux-ia64

Although I do not work on linux-ia64, I believe we found a bug bringing up
PPC64 with some regression tests that also exists in the IA64 code that
someone might want to look into.

In arch/ia64/ia32/sys_ia32.c, the function siginfo64to32(siginfo_t32 *d,
...)
does the following:
   memset(&d, 0, sizeof(siginfo_t32));

Seems like the &d should just be d.

Is this a legitimate bug, or are we missing something here?

Thanks -

Dave Engebretsen
Linux on PowerPC Development, IBM Rochester
Internal  : ibmusm07(engebret), T/L 8-553-2925
External : engebret@us.ibm.com, (507) 253-2925



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

* Re: [Linux-ia64] Possible bug in siginfo64to32()
  2001-05-02 19:29 [Linux-ia64] Possible bug in siginfo64to32() David Engebretsen
@ 2001-05-02 19:37 ` Don Dugger
  0 siblings, 0 replies; 2+ messages in thread
From: Don Dugger @ 2001-05-02 19:37 UTC (permalink / raw)
  To: linux-ia64

Dave-

Certainly looks like a bug to me.  Makes you wonder how the code ever
worked.

Thanks for spotting it.

On Wed, May 02, 2001 at 02:29:01PM -0500, David Engebretsen wrote:
> Although I do not work on linux-ia64, I believe we found a bug bringing up
> PPC64 with some regression tests that also exists in the IA64 code that
> someone might want to look into.
> 
> In arch/ia64/ia32/sys_ia32.c, the function siginfo64to32(siginfo_t32 *d,
> ...)
> does the following:
>    memset(&d, 0, sizeof(siginfo_t32));
> 
> Seems like the &d should just be d.
> 
> Is this a legitimate bug, or are we missing something here?
> 
> Thanks -
> 
> Dave Engebretsen
> Linux on PowerPC Development, IBM Rochester
> Internal  : ibmusm07(engebret), T/L 8-553-2925
> External : engebret@us.ibm.com, (507) 253-2925
> 
> 
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64

-- 
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
n0ano@valinux.com
Ph: 303/938-9838


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

end of thread, other threads:[~2001-05-02 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-02 19:29 [Linux-ia64] Possible bug in siginfo64to32() David Engebretsen
2001-05-02 19:37 ` Don Dugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox