adbd crashes if adb root is used
Bug #1367304 reported by
Benjamin Zeller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
android-tools (Ubuntu) |
Fix Released
|
Medium
|
Oliver Grawert |
Bug Description
adbd crashes when adb root is used, instead it should be a noop,
this came up because the Ubuntu SDK is using adb root in one of the
device detection scripts (Line 27):
http://
<ogra_> zbenjamin, on android adbd starts as the shell user and with adb root you can switch to a full root user mode
<ogra_> we dont allow that at all
<zbenjamin> ogra_: sergiusens: ah ok
<zbenjamin> thanks
<ogra_> zbenjamin, so a bug against android-tools would help ... adbd should not crash ... it should just be a no-op
<sergiusens> zbenjamin: you probably can get rid of the adb_root function comletely
<ogra_> zbenjamin, feel free to assign me directly
Related branches
Changed in android-tools (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Oliver Grawert (ogra) |
To post a comment you must log in.
This bug was fixed in the package android-tools - 4.2.2+git201302 18-3ubuntu41
--------------- git20130218- 3ubuntu41) vivid; urgency=medium
android-tools (4.2.2+
core/ adbd/services. c:
* disable all support for "adb root" (LP: #1367304)
* check screen lock state before allowing adb push/pull (LP: #1423293)
* move the screen lock check for adb shell to the arg processing code
* fix description of android-tools-adbd (LP: #1264427)
* use the right path for the lock check override file (LP: #1414288)
-- Oliver Grawert <email address hidden> Mon, 02 Mar 2015 13:30:02 +0100