[Webkit-unassigned] [Bug 103259] Numeric identifiers of events are not guaranteed to be unique

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 27 11:33:58 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103259





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2012-11-27 11:36:10 PST ---
(From update of attachment 176014)
View in context: https://bugs.webkit.org/attachment.cgi?id=176014&action=review

> Source/WebCore/Modules/geolocation/Geolocation.cpp:183
> +    bool result = m_idToNotifierMap.add(id, notifier.get()).isNewEntry;

Won't this add() call overwrite an entry in m_idToNotifierMap on collision?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list