[Skiboot] [PATCH V2] libc : Changes variable data type where return value of strlen() stored from int to size_t
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Oct 11 15:54:23 AEDT 2016
Mukesh Ojha <mukesh02 at linux.vnet.ibm.com> writes:
> Reason of the change as integer value may overflow, and it can give negative
> value for the length.
>
> This patch also changes the data type of variable which is compared with
> strlen() as the comparison also has to be done on the same level.
>
> Signed-off-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>
> ---
> Changes in V2:
> - Missed the comma between the variables.
Thanks, merged to master as of 32dc2a19bb6a91862b414fdd6eec07154e5e4308
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list