Bug 10918

Summary: CPU_ISSET() doesn't use const casts
Product: glibc Reporter: Aurelien Jarno <aurelien>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED FIXED    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu Last reconfirmed:
Attachments: Patch to fix the problem

Description Aurelien Jarno 2009-11-08 14:00:10 UTC
const cpuset_t's can be handed to CPU_ISSET(), and by extension, no
structure containing a cpuset_t can be handed as const to a function
which calls CPU_ISSET() at some point.
Comment 1 Aurelien Jarno 2009-11-08 14:01:10 UTC
Created attachment 4367 [details]
Patch to fix the problem
Comment 2 Ulrich Drepper 2009-11-19 18:04:49 UTC
Correctly fixed in git.