diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-02-07 18:13:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-07 18:13:00 -0800 |
commit | 04f217aca4d803fe72c2c54fe460d68f5233ce52 (patch) | |
tree | a272e05b77afa50d868b08ce79daa22808aeef01 /net/tipc/bcast.h | |
parent | 4e881a217bd1403960eb8f32297ba9d226c6d5ae (diff) |
[TC]: oops in em_meta
If userspace passes a unknown match index into em_meta, then
em_meta_change will return an error and the data for the match will
not be set. This then causes an null pointer dereference when the
cleanup is done in the error path via tcf_em_tree_destroy. Since the
tree structure comes kzalloc, it is initialized to NULL.
Discovered when testing a new version of tc command against an
accidental older kernel.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bcast.h')
0 files changed, 0 insertions, 0 deletions