Comment 2 for bug 195090

Revision history for this message
James Westby (james-w) wrote :

Hi,

In UnifiedDataExtractor/scan there is

def get_executables(package):
    def exec_filter(item_info):
        # lib*.so* are usualy +x so we'll exclude them
        return isinstance(item_info, DebPackage.FileInfo) and item_info.is_executable() and not re.match("^lib.*\\.so.*", os.path.basename(item_info.name))
    return ["/"+item_info.name for item_info in package.items if exec_filter(item_info)]

This bug may be fixed if the exec_filter function also excludes ".."

Thanks,

James