[apparmor] [PATCH 2/2] libapparmor: Be consistent with the type used for buffer sizes
Tyler Hicks
tyhicks at canonical.com
Fri Sep 30 02:33:16 UTC 2016
On 09/29/2016 09:30 PM, Seth Arnold wrote:
> 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.
I'm at least 10% sure so that makes 100%.
I'll look at this again tomorrow and get something better sent out as a v2.
Tyler
>
> Thanks
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160929/9782414a/attachment.pgp>
More information about the AppArmor
mailing list