commit | ae77c1a8aa19484d8d8196e55254f2c6f01d1aad | [log] [tgz] |
---|---|---|
author | MSe1969 <mse1969@posteo.de> | Sun Jun 24 17:00:53 2018 +0200 |
committer | MSe1969 <mse1969@posteo.de> | Mon Jul 02 19:20:31 2018 +0200 |
tree | a58f3826cb8637092a039f4ed2e5ed841062e9f1 | |
parent | cc52043f2fdea96431787356b57e496ef37e6117 [diff] |
su.c: fix property check due to lineage rebranding Due to lineage rebranding, the property 'ro.cm.version' needs to be replaced with 'ro.lineage.version' in su.c, otherwise, the check for 'access_disabled' always returns false and may lead to undefined behavior. To avoid such undefined behavior, su should refuse to work on builds without the 'ro.lineage.version' property. Change-Id: I59632ad4bfdc055e53cfac7c8e9c02a65ed58373