[Bug nptl/15618] Possible access beyond memory bounds in pthread_attr_getaffinity

siddhesh at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jun 13 19:50:00 GMT 2013


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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

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

--- Comment #1 from Siddhesh Poyarekar <siddhesh at redhat dot com> ---
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.

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



More information about the Glibc-bugs mailing list