Closed Bug 744794 Opened 8 years ago Closed 8 years ago

Remove password debugging information in logcat from release builds

Categories

(Firefox for Android :: Android Sync, defect, P1)

ARM
Android
defect

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: tchung, Assigned: rnewman)

Details

The mozilla-inbound build is showing my user/pass output in adb logs.  we need to remove this for release builds.

04-12 08:41:24.582: INFO/System.out(8909): 2                  | https://caseconduc |                    | https://caseconduc | username           | password           | tchung             | <<SCRUBBEDFORTHISBUG>>      | 0                  | 1334245009831      | 0                  | 1334245243292      | 0                  | {1b0f00b6-985b-6d4 | 
04-12 08:41:24.582: INFO/System.out(8909): 3                  | https://eyedee.me  |                    | https://eyedee.me  |                    |                    | tchung             | <<SCRUBBEDFORTHISBUG>>            | 0                  | 1334245010476      | 0                  | 1334245243715      | 0                  | {1d769c4b-203a-374 | 
04-12 08:41:24.582: INFO/System.out(8909): 1                  | https://wiki.mozil |                    | https://wiki.mozil | wpName             | wpPassword         | Tchung             | <<SCRUBBEDFORTHISBUG>>            | 0                  | 1334245007943      | 0                  | 1334245242280      | 0                  | {0bc9dea9-c113-894 | 

Repro:
1) install 04-12-2012 mozilla-inbound build, http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1334228732/
2) setup android sync to desktop, you may have to force sync it if the first time fails
3) Watch logcat, and verify debugger info leaves in user name and password exposed.

Expected:
- hide or remove username and passwords (or encrypt it or something) in logcat

Actual;
- data exposed
https://hg.mozilla.org/integration/mozilla-inbound/rev/7598b32483f9
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla14
Priority: -- → P1
https://hg.mozilla.org/mozilla-central/rev/7598b32483f9
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
You need to log in before you can comment on or make changes to this bug.