diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-25 11:26:18 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-25 11:27:30 +0100 |
commit | f17e3ce8213ba364d1eea7b5bab286a2175e5875 (patch) | |
tree | 1542a2cc1c8315aaa38e37c16ca17bac94985ac9 /apt-pkg/depcache.h | |
parent | 4fad7262291a8af1415fb9a3693678bd9610f0d6 (diff) |
Silence narrow conversion warnings, add error checks
When converting a long offset to a uint32_t to be stored in
the map, check that this is safe to do. If the offset is
negative, or we lose data in the conversion, we lost.
Diffstat (limited to 'apt-pkg/depcache.h')
0 files changed, 0 insertions, 0 deletions