Mnsd05 / pe

0 stars 0 forks source link

Input big number for add-stat value #2

Open Mnsd05 opened 1 year ago

Mnsd05 commented 1 year ago

When I give a very big number, both negative and positive, the program tells me to give an integer although the value is already an integer

image.png

soc-se-bot commented 1 year ago

Team's Response

Buggy program behaviour is caused by extreme user behaviour.

Bug is caused by integer overflow. Values between -2,147,483,648 and 2,147,483,647 (min and max values of type int) will result in expected behaviour.

Valid negative values and zero throws the following error:

ERROR: Integer provided should be above 0

Valid non-zero positive values will successfully update the stat.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: The severity should be very low but it should not be rejected as this minor bug makes the program incomplete