Skip to content
Commit e521d6ce authored by Ross Burton's avatar Ross Burton Committed by Steve Sakoman
Browse files

cve-update-nvd2-native: handle all configuration nodes, not just first



Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.

Instead, consider every configuration. We don't yet handle the AND/OR
logical operators, but this is a step in the right direction.

Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1bf4f6d)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 1fe434d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment