Summary: | Possible access beyond memory bounds in pthread_attr_getaffinity | ||
---|---|---|---|
Product: | glibc | Reporter: | Siddhesh Poyarekar <siddhesh> |
Component: | nptl | Assignee: | Siddhesh Poyarekar <siddhesh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drepper.fsp, fweimer |
Priority: | P2 | Flags: | fweimer:
security+
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Siddhesh Poyarekar
2013-06-13 18:54:13 UTC
Fixed in master: commit 5865a56bf4e31c5a152e46454367a99c5971ac02 Author: Siddhesh Poyarekar <siddhesh@redhat.com> Date: Fri Jun 14 01:20:06 2013 +0530 Avoid access beyond memory bounds in pthread_attr_getaffinity_np Resolves BZ #15618. pthread_attr_getaffinity_np may write beyond bounds of the input cpuset buffer if the size of the input buffer is smaller than the buffer present in the input pthread attributes. Fix is to copy to the extent of the minimum of the source and the destination. |