[Bug 758078] New: plugin: Dependency hash does not work 32 or more files

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 13 12:47:44 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=758078

            Bug ID: 758078
           Summary: plugin: Dependency hash does not work 32 or more files
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas.dufresne at collabora.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

A good example is frei0r. Remove /usr/lib64/frei0r-1/alpha0ps.so and run
gst-inspect again, the plugin is still listed (the cache is not invalidated).

The problem, is that the hash of each file is added and shift to the left.

gst_plugin_ext_dep_scan_path_with_filenames:
  hash = (hash + fhash) << 1;

This shifting is also used at many other places. Passed 32 shift, the first
item that was hash, no longer have weigth in the resulting hash.

-- 
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