Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzing: Breaking Things With Random Inputs - Error for airport code "IST" is wrong #175

Open
vladimirpootin opened this issue Feb 14, 2024 · 1 comment

Comments

@vladimirpootin
Copy link

vladimirpootin commented Feb 14, 2024

Describe the bug
Fuzzing: Breaking Things With Random Inputs, Section 6.2 has an error code for the airport with code "IST". The error code shows as if it was run for YMML. There is no error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Fuzzing: Breaking Things With Random Inputs
  2. Scroll down to "6.2 Program Specific Checkers"
  3. See error

Expected behavior
The code should run correctly based on the input.

Screenshots
If applicable, add screenshots to help explain your

image

@ajay-banstola
Copy link

@vladimirpootin The whole point of add_new_airport_2 function is to ensure the correct representation of the list of airport codes – before and after changing it. In this case, the 'YMML' code was introduced in the airport_codes list. In the add_new_airport_2 function, we check for each of the items in the list to satisfy the condition before adding the 'IST' code to the list. Thus, the error. This is not an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants