Commit 16e185c9 authored by Christopher Ferris's avatar Christopher Ferris
Browse files

__memcpy_chk: Fix signed cmp of unsigned values.

I accidentally did a signed comparison of the size_t values passed in
for three of the _chk functions. Changing them to unsigned compares.

Add three new tests to verify this failure is fixed.

Bug: 10691831

Merge from internal master.

(cherry-picked from 883ef249)

Change-Id: Id9a96b549435f5d9b61dc132cf1082e0e30889f5
parent ad999b60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment