summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-06 17:03:17 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 13:01:18 +0100
commit8a57fff0c178febbe28669a0ef68a8e3460a7589 (patch)
treeaaadc945f5f5c72bd63fe1bbe2d39d0c9eec3ee1 /.gitignore
parent10ff57f98d5fccb9bb508ba30230e5df030d67e3 (diff)
downloadlwn-8a57fff0c178febbe28669a0ef68a8e3460a7589.tar.gz
lwn-8a57fff0c178febbe28669a0ef68a8e3460a7589.zip
regulatory: don't write past array when intersecting rules
When intersecting rules, we count first to know how many rules need to be allocated, and then do the intersection into the allocated array. However, the code doing this writes past the end of the array because it attempts to do all intersections. Make it stop when the right number of rules has been reached. Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions