diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-12-06 13:46:58 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-12-06 13:48:07 +0100 |
commit | 05d1549fb65b00137b22159761462626d11bfe73 (patch) | |
tree | 625ed234b54c2382ca5b8759fe3b77fb0341ac10 /test/integration/test-cve-2018-0501-mirror-alternatives | |
parent | 9ef43fe6000122490fa2f74e49575513e0059b31 (diff) |
satisfy: Fix segmentation fault when called with empty argument
apt satisfy "" caused a segmentation fault because we were iterating
over the characters, checking if the next character was the end of
the string; when it could also be the current character.
Instead, check whether the next character is before the end of
the string, rather than identical to the end.
Diffstat (limited to 'test/integration/test-cve-2018-0501-mirror-alternatives')
0 files changed, 0 insertions, 0 deletions