sonic-utilities icon indicating copy to clipboard operation
sonic-utilities copied to clipboard

Fix for integer overflow of counter value if its too large

Open harjotsinghpawra opened this issue 1 year ago • 1 comments

What I did

Changed the data type casting to float if count coming is too large or in scientific notation .

How I did it

made it float then type cast to int for display purpose

How to verify it

Manually passed big value and see the count output if it breaks or works

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

harjotsinghpawra avatar Nov 05 '24 00:11 harjotsinghpawra