Commit Graph

6 Commits

Author SHA1 Message Date
Manuel Rüger
6b7027ff41 Harden and add gosec linter
Remediate:
G104: Errors unhandled.
G109: Potential Integer overflow made by strconv.Atoi result conversion to int16/32
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server
G304: Potential file inclusion via variable
G601: Implicit memory aliasing in for loop.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-10-20 20:44:46 +02:00
Julian van den Berkmortel
f78c8eb1c6 Add CompositeFamilyGeneratorFilter struct for combining multiple filters 2021-11-16 17:49:14 +01:00
Julian van den Berkmortel
d767e99c98 Add FamilyGeneratorFilter interface and use it for the allow- / denylist 2021-11-16 17:49:13 +01:00
Ahmed Mezghani
698aee0f46 Improve the fake store 2021-10-18 18:45:32 +02:00
Ahmed Mezghani
91adf1f7dd Typo fix 2021-10-15 14:03:25 +02:00
Ahmed Mezghani
da9f39e6cb Add a test case for builder with custom store 2021-10-15 12:54:52 +02:00