This file is indexed.

/usr/share/backgroundrb/server/lib/bdrb_server_helper.rb is in libbackgroundrb-ruby1.8 1.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module BackgrounDRb
  module BdrbServerHelper
    # Load data using Marshal.load, if load fails because of undefined constant
    # try to load the constant. FIXME: regexp needs to handle all the cases.
    def load_data data
      begin
        return Marshal.load(data)
      rescue
        error_msg = $!.message
        if error_msg =~ /^undefined\ .+\ ([A-Z].+)/
          file_name = $1.underscore
          begin
            require file_name
            return Marshal.load(data)
          rescue
            return nil
          end
        else
          return nil
        end
      end # end of load_data method
    end
  end
end