~lkundrak/network-manager/launchpad-master

Viewing all changes in revision 12336.

  • Committer: Thomas Haller
  • Date: 2018-04-18 05:51:29 UTC
  • Revision ID: git-v1:954168048e3050b42a4349ffcbd9af5356465ffa
auth-manager: fix potential issue iterating modified CList in _dbus_new_proxy_cb()

In the loop, we invoke callbacks. What the callbacks do, is out of control
of NMAuthManager. For example, they could cancel or schedule new
requests. Especially, cancelling invalidate the stored @safe pointer.

Fix that, by always iterate from the start of the list.

Fixes: d0563f0733ed293d67e9a0f6503e28c3f1c08f1b

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: