If the caller requests fewer bytes of cpu_set_t data than are
available from the system, the code will still copy all of the
system's data to the user, overwriting additional memory.
Signed-off-by: Chris Metcalf
---
.../unix/sysv/linux/pthread_attr_getaffinity.c |8 +++-
1 files chan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Metcalf wrote:
> If the caller requests fewer bytes of cpu_set_t data than are
> available from the system, the code will still copy all of the
> system's data to the user, overwriting additional memory.
>
> Signed-off-by: Chris Metcalf
> ---
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Metcalf wrote:
> If the caller requests fewer bytes of cpu_set_t data than are
> available from the system, the code will still copy all of the
> system's data to the user, overwriting additional memory.
>
> Signed-off-by: Chris Metcalf
> ---
>
On 1/11/2010 12:47 PM, Carmelo AMOROSO wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Metcalf wrote:
>
>> If the caller requests fewer bytes of cpu_set_t data than are
>> available from the system, the code will still copy all of the
>> system's data to the user, overwriting
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Metcalf wrote:
> On 1/11/2010 12:47 PM, Carmelo AMOROSO wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Chris Metcalf wrote:
>>
>>> If the caller requests fewer bytes of cpu_set_t data than are
>>> available from the system, t
On 1/12/2010 3:03 AM, Carmelo AMOROSO wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Metcalf wrote:
>
>> On 1/11/2010 12:47 PM, Carmelo AMOROSO wrote:
>>
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> Chris Metcalf wrote:
>>>
>>>
If the call