Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1732

Facter core dump on large integers

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Critical
    • Resolution: Unresolved
    • FACT 3.5.1
    • FACT 5.x
    • CLI
    • CentOS 7.4

    • Platform OS
    • 3
    • Needs Assessment
    • Needs Assessment

    Description

      Facter is core dumping when returning facts with large integers.

      How to reproduce:

      • Create test_fact.rb with the following content:

      Facter.add("test_fact") do
        setcode do
            # Unsigned 64-bit Integer
            # Sample failure noted on querying 'shmall' in sysctl
         18446744073692774399
       end
      end
      

      • Run facter -p test_fact

      Attachments

        Activity

          People

            Unassigned Unassigned
            peiriannydd Trevor Vaughan
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support