This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #15618] Avoid access beyond memory bounds in pthread_attr_getaffinity_np
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 13 Jun 2013 12:25:20 -0700 (PDT)
- Subject: Re: [PATCH][BZ #15618] Avoid access beyond memory bounds in pthread_attr_getaffinity_np
- References: <20130613190744 dot GC19582 at spoyarek dot pnq dot redhat dot com>
#include <sys/param.h> explicitly in a file using the MIN macro.
A comment about why MIN is correct wouldn't hurt, too.
Otherwise the change looks fine to me.