John Koleszar 9fb80f7170 fix integer promotion bug in partition size check
The check '(user_data_end - partition < partition_size)' must be
evaluated as a signed comparison, but because partition_size was
unsigned, the LHS was promoted to unsigned, causing an incorrect
result on 32-bit. Instead, check the upper and lower bounds of
the segment separately.

Change-Id: I6266aba7fd7de084268712a3d2a81424ead7aa06
2010-11-05 14:52:53 -04:00
..
2010-09-16 10:00:04 -04:00
2010-06-05 16:47:23 -04:00
2010-06-05 16:47:23 -04:00
2010-09-09 14:08:12 -04:00
2010-09-09 14:42:48 -04:00