On 3 November 2013 01:35, Linus Torvalds wrote:
> On Sat, Nov 2, 2013 at 2:26 PM, Mathias Krause wrote:
>> On 64 bit systems the test for negative message sizes is bogus as the
>> size, which may be positive when evaluated as a long, will get truncated
>> to an int when passed to load_msg().
>
>
On Sat, Nov 2, 2013 at 2:26 PM, Mathias Krause wrote:
> On 64 bit systems the test for negative message sizes is bogus as the
> size, which may be positive when evaluated as a long, will get truncated
> to an int when passed to load_msg().
Quite frankly, wouldn't it be much nicer to just fix "loa
On 64 bit systems the test for negative message sizes is bogus as the
size, which may be positive when evaluated as a long, will get truncated
to an int when passed to load_msg(). So a long might very well contain a
positive value but when truncated to an int it would become negative.
That in comb
3 matches
Mail list logo