summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-03 23:22:53 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-03 23:37:43 +0200
commit84ac6edfabe1c92d67e8d441e04216ad33c89165 (patch)
tree10a16608a633aef468e76273c81313493b10adcb /apt-pkg/policy.cc
parentad24ea39b5dd0ce990a20a60b888511261ec21e1 (diff)
allow redirection for items without a space in the desc again
Broken in a4b8112b19763cbd2c12b81d55bc7d43a591d610. If an item has a description which includes no space and is redirected to another mirror the code which wants to rewrite the description expects a space in there, but can't find it and the unguarded substr command on the string will fail with an exception thrown… Guarding it properly and everything is fine.
Diffstat (limited to 'apt-pkg/policy.cc')
0 files changed, 0 insertions, 0 deletions