summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-06-19 19:01:14 -0700
committerDavid Anderson <dvander@google.com>2019-06-19 19:23:55 -0700
commitf04107fff85f63949336b2b3707e1f336452f0eb (patch)
tree75d3e11c5280f4f1c5be4bf61bb8120ddaba33d5 /libutils/Unicode.cpp
parentf78b8a4f95babdb5e12ecf1f034ccdc0dc39f8f9 (diff)
liblp: Handle invalid alignment offsets correctly.
When stacking devices with dm-linear, it is possible to get a -1 alignment offset. In this case we should set alignment_offset to 0 rather than fail later trying to divide -1 by the sector size. Bug: 134536978 Test: manual test Change-Id: I3862fdda69531a3b230b7316707469a49ba871d6
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions