diff options
author | David Kalnischkies <david@kalnischkies.de> | 2021-02-03 17:50:05 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2021-02-04 11:00:00 +0100 |
commit | 35af71bc026d85aef4af979aa247e837d91dfc1c (patch) | |
tree | b71d858a0253221f5f846b34e6c217eeca21851b /apt-private/private-sources.h | |
parent | f7e6eaf84bebac565f462e2ce48f30808cc771eb (diff) |
Use error reporting instead of assert in rred patching
The rest of our code uses return-code errors and it isn't that nice to
crash the rred method on bad patches anyway, so we move to properly
reporting errors in our usual way which incidently also helps writing
a fuzzer for it.
This is not really security relevant though as the patches passed hash
verification while they were downloaded, so an attacker has to overtake a
trusted repository first which gives plenty better options of attack.
Diffstat (limited to 'apt-private/private-sources.h')
0 files changed, 0 insertions, 0 deletions