Netgate Store

Author Topic: bug in stat  (Read 666 times)

0 Members and 1 Guest are viewing this topic.

Offline alexgluker

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
bug in stat
« on: March 21, 2017, 01:45:20 am »
negative values?

2.3.3-RELEASE (i386)
built on Thu Feb 16 06:59:50 CST 2017
FreeBSD 10.3-RELEASE-p16

Offline heper

  • Hero Member
  • *****
  • Posts: 2742
  • Karma: +260/-12
    • View Profile
Re: bug in stat
« Reply #1 on: March 21, 2017, 02:32:38 am »
might be a rollover of a 32bit integer ?


Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21835
  • Karma: +1526/-26
    • View Profile
Re: bug in stat
« Reply #2 on: March 21, 2017, 07:32:08 am »
Yeah, 32-bit rollover looks likely in that case.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline phil.davis

  • Hero Member
  • *****
  • Posts: 4618
  • Karma: +552/-3
    • View Profile
    • International Nepal Fellowship
Re: bug in stat
« Reply #3 on: March 21, 2017, 08:06:35 am »
This has been reported before, so you are not the first to see it.
As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/