commit | ba2055cde18724292cc8013dd1e7db199b59771d | [log] [tgz] |
---|---|---|
author | Jeremy Compostella <jeremy.compostella@intel.com> | Mon May 02 17:29:28 2016 +0200 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Fri Jan 27 13:55:16 2017 -0800 |
tree | 17212d9ee498281d0938c1397daaf8f177b858a5 | |
parent | ae8b49031118932b376426907e5245c18e06112b [diff] |
ANDROID: dm: fix dm_substitute_devices() When candidate is the last parameter, candidate_end points to the '\0' character and not the DM_FIELD_SEP character. In such a situation, we should not move the candidate_end pointer one character backward. Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>