This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/6919] posix_spawnattr_getschedparam overwrites unrelated memory


------- Additional Comments From bruno at clisp dot org  2008-09-27 18:40 -------
Created an attachment (id=2965)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2965&action=view)
a fix

Attached is a fix. Like in the file spawnattr_setschedparam.c, a simple
assignment is sufficient - no need for memcpy at all.

Btw, you can also remove the include <string.h> from spawnattr_setschedparam.c.


-- 


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

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


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