diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-08-14 10:36:55 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-09-13 18:14:12 +0200 |
commit | ccd6ebbc9ab4026a77ac2844e15ea35adfe788be (patch) | |
tree | 053f74e2fc21f31bb6596dad49c5f7deeb628e09 /apt-private/private-sources.h | |
parent | 8d32cfbe25402f9d2cc0e858b408c4e873679380 (diff) |
don't ask an uninit _system for supported archs
A libapt user who hasn't initialized _system likely has a reason, so we
shouldn't greet back with a segfault usually deep down in the callstack
for no reason. If the user had intended to pick up information from the
system, _system wouldn't be uninitialized after all.
LP: #1613184
SRU: 1.4.y
(cherry picked from commit cba5c5a26a9bf00724f8ea647ac61b30e32734ba)
Diffstat (limited to 'apt-private/private-sources.h')
0 files changed, 0 insertions, 0 deletions