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

Facter core dump on large integers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: FACT 3.5.1
    • Fix Version/s: FACT 4.0.0
    • Component/s: CLI
    • Labels:
    • Environment:

      CentOS 7.4

    • Template:
    • Team:
      Platform OS
    • Story Points:
      3
    • Method Found:
      Needs Assessment
    • QA Risk 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

            Assignee:
            Unassigned
            Reporter:
            peiriannydd Trevor Vaughan
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support