summaryrefslogtreecommitdiff
path: root/methods/basehttp.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2021-02-03 17:50:05 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2021-02-04 11:00:00 +0100
commit35af71bc026d85aef4af979aa247e837d91dfc1c (patch)
treeb71d858a0253221f5f846b34e6c217eeca21851b /methods/basehttp.cc
parentf7e6eaf84bebac565f462e2ce48f30808cc771eb (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 'methods/basehttp.cc')
0 files changed, 0 insertions, 0 deletions