Skip to content

Commit 238b5bd

Browse files
Al2KlimovJiri Kosina
authored andcommitted
HID: udraw-ps3: 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]> Acked-by: Bastien Nocera <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent b266eac commit 238b5bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-udraw-ps3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ MODULE_LICENSE("GPL");
1616

1717
/*
1818
* Protocol information from:
19-
* http://brandonw.net/udraw/
19+
* https://brandonw.net/udraw/
2020
* and the source code of:
2121
* https://vvvv.org/contribution/udraw-hid
2222
*/

0 commit comments

Comments
 (0)