-
Notifications
You must be signed in to change notification settings - Fork 62
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
Quick checksum file update to support current release as of 2024-11-13 @ 2131 US/Pacific Time #58
Open
WaffleThief123
wants to merge
8
commits into
Cloud-RF:main
Choose a base branch
from
WaffleThief123:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed24478 - Browse repository at this point
Copy the full SHA ed24478View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23a96ad - Browse repository at this point
Copy the full SHA 23a96adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b86ddd - Browse repository at this point
Copy the full SHA 0b86dddView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca83e36 - Browse repository at this point
Copy the full SHA ca83e36View commit details -
the `"%s"` format string with `printf` is used to avoid potential issues related to unintended format specifiers in the variables. Here’s why it’s necessary and best practice: 1. **Avoiding Unintended Format Specifiers**: If we directly pass variables like `printf "$info"`, it may contain unintended format specifiers (like `%d`, `%s`, etc.) that can cause unexpected behavior or errors if `printf` tries to interpret them. By specifying `"%s"`, we tell `printf` to treat the variable as a plain string. 2. **Security and Stability**: Relying on the explicit `"%s"` format makes the script more robust and secure. If a variable accidentally includes a user-provided or dynamic string containing `%` characters, `printf` could interpret those as format specifiers, leading to errors or even security vulnerabilities in certain contexts. 3. **Shellcheck Compliance**: Shellcheck, a popular linting tool for shell scripts, flags this usage (`SC2059`) because treating variables as format strings can lead to unpredictable behavior. Shellcheck recommends using explicit format strings to ensure consistency and avoid errors. 4. **Readability and Maintainability**: Specifying `"%s\n"` for strings in `printf` is a clear signal to anyone reading the script that the output is intended as a simple string without embedded formatting instructions, making the code easier to understand and less error-prone.
Configuration menu - View commit details
-
Copy full SHA for 8992d84 - Browse repository at this point
Copy the full SHA 8992d84View commit details -
Undoing changes to main branch
Revert "fixed printf to be safer." This reverts commit 8992d84.
Configuration menu - View commit details
-
Copy full SHA for deab54e - Browse repository at this point
Copy the full SHA deab54eView commit details -
Revert "sanity correction, not everyone has a /bin/bash, and some of us are on nix" This reverts commit ca83e36.
Configuration menu - View commit details
-
Copy full SHA for ad15331 - Browse repository at this point
Copy the full SHA ad15331View commit details -
Revert "fix to prevent unwanted expansion" This reverts commit 0b86ddd.
Configuration menu - View commit details
-
Copy full SHA for 3a6e56d - Browse repository at this point
Copy the full SHA 3a6e56dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.