Details
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