diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 17:17:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-07-19 20:49:25 +0200 |
commit | 7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c (patch) | |
tree | d6314557a43ddf3cee2f472ed77c62c39c890d9a /sound/usb | |
parent | 71ea8eebdd4455a43a78b68fd2d106719735c211 (diff) | |
download | linux-stable-7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c.tar.gz linux-stable-7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c.tar.bz2 linux-stable-7ed33ea6b4faf0d63eafeef0b1a9b977b66ac88c.zip |
ALSA: Replace HTTP links with HTTPS ones
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.
Deterministic algorithm:
For each file:
If not .svg:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
If both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200719151705.59624-1-grandmaster@al2klimov.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer_maps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c index 9af7aa93f6fa..2ec484655201 100644 --- a/sound/usb/mixer_maps.c +++ b/sound/usb/mixer_maps.c @@ -233,7 +233,7 @@ static const struct usbmix_name_map maya44_map[] = { }; /* Section "justlink_map" below added by James Courtier-Dutton <James@superbug.demon.co.uk> - * sourced from Maplin Electronics (http://www.maplin.co.uk), part number A56AK + * sourced from Maplin Electronics (https://www.maplin.co.uk), part number A56AK * Part has 2 connectors that act as a single output. (TOSLINK Optical for digital out, and 3.5mm Jack for Analogue out.) * The USB Mixer publishes a Microphone and extra Volume controls for it, but none exist on the device, * so this map removes all unwanted sliders from alsamixer |