Jonas Gorski
9fbd6d0ba0
b53: fix memory out of bounds access on 64 bit targets
...
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.
Fix this by dereferencing the pointers.
Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45938
2015-06-10 09:21:36 +00:00
..
2015-05-28 09:06:28 +00:00
2015-04-11 10:28:06 +00:00
2015-05-28 13:45:33 +00:00
2015-06-07 07:22:11 +00:00
2015-05-27 14:57:38 +00:00
2015-05-28 13:25:21 +00:00
2015-03-13 03:02:34 +00:00
2015-06-01 06:03:52 +00:00
2015-06-07 14:41:05 +00:00
2015-06-07 10:09:10 +00:00
2015-06-02 10:23:45 +00:00
2015-05-29 11:28:54 +00:00
2015-05-27 15:18:29 +00:00
2015-05-29 11:28:33 +00:00
2015-06-10 09:21:36 +00:00
2015-05-21 19:32:46 +00:00
2015-06-07 07:32:35 +00:00
2015-05-29 14:39:12 +00:00
2015-05-27 14:56:13 +00:00
2015-06-05 14:11:51 +00:00
2015-05-31 17:45:43 +00:00
2015-05-21 19:32:46 +00:00
2015-05-25 21:15:37 +00:00
2015-05-27 19:03:22 +00:00
2015-05-29 08:42:50 +00:00
2015-04-23 22:31:36 +00:00
2015-05-29 11:28:20 +00:00
2015-05-27 15:34:30 +00:00
2015-03-19 18:45:32 +00:00
2015-04-28 13:31:08 +00:00
2015-05-21 19:32:46 +00:00
2015-04-12 20:48:13 +00:00
2015-03-11 12:20:03 +00:00
2015-03-06 07:56:34 +00:00
2015-06-08 12:51:13 +00:00
2015-05-21 19:32:46 +00:00
2015-05-27 15:34:38 +00:00
2015-05-29 13:55:26 +00:00
2015-03-28 13:20:52 +00:00
2015-05-29 08:20:58 +00:00
2015-05-28 12:25:45 +00:00