gocsaf / csaf

Tools to download or provide CSAF (Common Security Advisory Framework) documents.
https://csaf.io
40 stars 23 forks source link

Remove data races in downloader caused by shared use of json path eval. #547

Closed s-l-teichmann closed 5 months ago

s-l-teichmann commented 5 months ago

util.PathEval objects are intended to be used single threaded. Therefore sharing one for all workers in the downloader is causing data races.

This PR addresses this.

ThomasJunk commented 5 months ago

LGTM