D7325: KCupsConnection: Exit authentication loop after too many retries.
Oliver Freyermuth
noreply at phabricator.kde.org
Tue Aug 15 11:55:17 UTC 2017
ofreyermuth created this revision.
Restricted Application added a subscriber: kde-utils-devel.
REVISION SUMMARY
This fixes endless loops for example in the situation
if the server uses IP whitelisting and denies our host
with 403 on each administrative request.
In that case, the passwort_attempt counter is never increased,
which up to now was the only exit condition.
The total_retries counter catches any case in which the
cups API will not call the password callback.
Details at: https://bugs.kde.org/show_bug.cgi?id=383305
REPOSITORY
R363 Print Manager
REVISION DETAIL
https://phabricator.kde.org/D7325
AFFECTED FILES
libkcups/KCupsConnection.cpp
To: ofreyermuth, dantti
Cc: kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20170815/4066d7a9/attachment-0001.html>
More information about the Kde-utils-devel
mailing list