adbd crashes if adb root is used

Bug #1367304 reported by Benjamin Zeller
6
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://pastebin.ubuntu.com/8300137/

<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

Oliver Grawert (ogra)
Changed in android-tools (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package android-tools - 4.2.2+git20130218-3ubuntu41

---------------
android-tools (4.2.2+git20130218-3ubuntu41) vivid; urgency=medium

  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

Changed in android-tools (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.