Skip to content

Commit b266eac

Browse files
Al2KlimovJiri Kosina
authored andcommitted
HID: mcp2221: 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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent e13762a commit b266eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-mcp2221.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright (c) 2020, Rishi Gupta <[email protected]>
66
*
7-
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20005565B.pdf
7+
* Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/20005565B.pdf
88
*/
99

1010
#include <linux/module.h>

0 commit comments

Comments
 (0)