Skip to content
Commit 23b6ec80 authored by mathrock's avatar mathrock
Browse files

Fix bug in CPE parsing

The current CPE dictionary parsing didn't catch the end of the 'title'
tag and would have extra data in the 'title' attribute of the CPE.

As an example using CVE-2015-7183 from
https://cve.circl.lu/api/cve/CVE-2015-7183:

Currently shows up like this:
    {
      "id": "cpe:2.3:a:mozilla:firefox:41.0.2",
      "title": "Mozilla Firefox 41.0.2\n    \n      Vendor"
    },

Should be:
    {
      "id": "cpe:2.3:a:mozilla:firefox:41.0.2",
      "title": "Mozilla Firefox 41.0.2"
    },
parent 51fb570b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment