git.iko.soy
/
typeable/nixpkgs
readme
files
commits
refs
on
master
help
sign in
broadcom_sta: Add patch to fix NULL pointer deref
fef4b62
aszlig
10 years ago
pkgs/os-specific/linux/broadcom-sta/default.nix
+1
compare with master
unified
split
@@ -23,6 +23,7 @@ stdenv.mkDerivation {
23
./i686-build-failure.patch
23
./i686-build-failure.patch
24
./license.patch
24
./license.patch
25
./linux-4.7.patch
25
./linux-4.7.patch
26
+
./null-pointer-fix.patch
26
./gcc.patch
27
./gcc.patch
27
];
28
];
28
29
pkgs/os-specific/linux/broadcom-sta/null-pointer-fix.patch
new file
+13
@@ -0,0 +1,13 @@
1
+
diff -urN a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
2
+
--- a/src/wl/sys/wl_linux.c 2015-01-06 12:33:42.981659618 +0100
3
+
+++ b/src/wl/sys/wl_linux.c 2015-01-06 12:34:05.647395418 +0100
4
+
@@ -2157,8 +2157,8 @@
5
+
wlif = WL_DEV_IF(dev);
6
+
wl = WL_INFO(dev);
7
+
8
+
+ skb->prev = NULL;
9
+
if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
10
+
- skb->prev = NULL;
11
+
12
+
TXQ_LOCK(wl);
13
+
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list