[gstreamer-bugs] [Bug 610367] New: [memindex] might busy loop upon EXACT lookup

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Feb 18 07:01:48 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=610367
  GStreamer | gstreamer (core) | git

           Summary: [memindex] might busy loop upon EXACT lookup
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: manauw at skynet.be
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=154140)
 View: https://bugzilla.gnome.org/attachment.cgi?id=154140
 Review: https://bugzilla.gnome.org/review?bug=610367&attachment=154140

Fix loop by avoiding loop altogether

Subject says most, if a sufficiently adequate entry is not found when doing a
LOOKUP_EXACT, it might end up in a never ending while ().

Attached patch should fix according to semantics (afaics).
I am also not entirely clear on how doing g_list_next or g_list_previous on an
unsorted list [*] is likely to end up with desired/optimal result ?

[*] though in typical cases it will probably end up sort-of sorted descending,
in which case list walk would match that

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




More information about the Gstreamer-bugs mailing list