launcher script runs Python 2 despite checking for /usr/bin/python3
Bug #1772448 reported by
Will Thompson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
debian/
if test -x /usr/bin/python3 -a -f "/usr/lib/
if echo "$CHROMIUM_FLAGS" |grep -E -- "--ppapi-
ver=$(python -c 'import json,sys; print(json.
CHROMIUM_
fi
fi
Notice that it checks for the existence of "/usr/bin/python3" but then runs "python", ie Python 2.7.
CVE References
Changed in chromium-browser (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in chromium-browser (Ubuntu): | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
I noticed this in the course of Endless OS removing Python 2.7 entirely. We don't ship /usr/lib/ adobe-flashplug in/manifest. json, and I couldn't find a copy to fully verify this patch, but I tested with a non-ASCII JSON file (the obvious way that 2.7 -> 3.x would break) and it seems to work fine.