-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Miscellaneous bug fixes and improvements #2679
Commits on May 8, 2024
-
Declare read-only data arrays const, to warn on accidental modification and let compilers place them in read-only memory sections.
Configuration menu - View commit details
-
Copy full SHA for d365da7 - Browse repository at this point
Copy the full SHA d365da7View commit details -
Avoid the duplicate definition of strtoupper() in websocket.c, just use the one from util.h.
Configuration menu - View commit details
-
Copy full SHA for 2716cfa - Browse repository at this point
Copy the full SHA 2716cfaView commit details -
Avoid UB in character checking functions
The functions classifying characters like isspace(3) require the input to be of type unsigned char or EOF.
Configuration menu - View commit details
-
Copy full SHA for 33f93c5 - Browse repository at this point
Copy the full SHA 33f93c5View commit details -
Avoid out-of-bounds access in serial processing mode
When using just one job for processing the input lines do not use the out-of-bounds index 1 instead of the valid one 0. This currently seems to only work since the stack space of the in this case unused threads array is used.
Configuration menu - View commit details
-
Copy full SHA for 243bef8 - Browse repository at this point
Copy the full SHA 243bef8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10bebef - Browse repository at this point
Copy the full SHA 10bebefView commit details -
Avoid out-of-bounds access for invalid HTTP status codes
Avoid array access in case the status code is less than 0 or bigger than 599. Also reduce the size of the codes array.
Configuration menu - View commit details
-
Copy full SHA for e928824 - Browse repository at this point
Copy the full SHA e928824View commit details -
Avoid unnecessary string copies
Do not duplicate the strings for enumeration keys, as they are read- only.
Configuration menu - View commit details
-
Copy full SHA for 3c19282 - Browse repository at this point
Copy the full SHA 3c19282View commit details
Commits on May 14, 2024
-
Fix two missing instances of string copy refactoring
These two locations are only enabled via `--enable-debug`.
Configuration menu - View commit details
-
Copy full SHA for c6e08f3 - Browse repository at this point
Copy the full SHA c6e08f3View commit details