https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192303

--- Comment #3 from [email protected] ---
Created attachment 145275
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145275&action=edit
Proposed fix

The issue is an optimisation in the implementation. If __pred(*__i) returns
true, the method goes into an inner loop that looks for subsequent items to
delete in the list for cumulative deletion.

After performing deletion the iterator will point to the first item behind the
deleted items. Which has already been visited (returning false ended the inner
loop).

The proposed patch points the iterator past this list entry - unless the
iterator points to the end of the list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to