[apparmor] [PATCH 2/2] libapparmor: Be consistent with the type used for buffer sizes

Seth Arnold seth.arnold at canonical.com
Fri Sep 30 02:30:02 UTC 2016


On Thu, Sep 29, 2016 at 07:32:31PM -0500, Tyler Hicks wrote:
> +	size_t remaining = fst->size - (fst->pos - fst->buffer);
>  
>  	if (remaining < 0) {

I'm 90% sure this doesn't do what we want.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160929/43f38fb7/attachment.pgp>


More information about the AppArmor mailing list