Re: [PATCH] mm/slub.c: add parameter length checking for alloc_loc_track()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Jul 2013, Chen Gang wrote:

> Hmm... when anybody says "need respect original authors' willing and
> opinions", I think it often means we have found the direct issue, but
> none of us find the root issue.

Is there an actual problem / failure being addressed by this patch?

> e.g. for our this case:
>   the direct issue is:
>     "whether need check the length with 'max' parameter".
>   but maybe the root issue is:
>     "whether use 'size' as related parameter name instead of 'max'".
>     in alloc_loc_track(), 'max' just plays the 'size' role.

"max" determines the size of the loc_track structure. So these can
roughly mean the same thing.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]