diff options
author | Marian Chereji <marian.chereji@freescale.com> | 2014-11-04 11:25:21 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:40:25 (GMT) |
commit | 9b815beb16ff05759ded65e4dc4b0dc50e8d87e1 (patch) | |
tree | 3864a181a5fefb9c32b9bea4203268e6acf93df5 /drivers/staging/fsl_dpa_offload/Makefile | |
parent | e6fdcaeb3c9c5e88b94fa472034c5bc4a3eefdca (diff) | |
download | linux-fsl-qoriq-9b815beb16ff05759ded65e4dc4b0dc50e8d87e1.tar.xz |
dpa_offload: Avoid dereferencing a NULL pointer in case of corrupted user params
In the dpa_classifier function "try_compatible_node" there are some
places where the header manipulation operation flags are compared to
the configuration of an existing header manipulation node. The control
path however doesn't suspend in case an inconsistency is found in the
flags and, in some rare cases when users provide corrupt parameters,
there is a danger to dereference a NULL hm_node pointer.
Change-Id: I355862c146a228e5878272156adaf92a76391ce6
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/23111
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Anca Jeanina Floarea <AncaJeanina.Floarea@freescale.com>
Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_dpa_offload/Makefile')
0 files changed, 0 insertions, 0 deletions