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

Fixed option parsing errors #1429

Merged

Conversation

sansyse
Copy link

@sansyse sansyse commented Sep 30, 2024

Fixed option parsing errors:
- Added '-V' and '-F' option to the getopt_long() optstring.
- Marked -F/--freq option with required argument.
- Added NULL pointer checks to helper function arg_parse_freq().

(Closes #1428)

    - Added '-V' and '-F' option to the getopt_long() optstring.
    - Marked -F/--freq option with required argument.
    - Added NULL pointer checks to helper function arg_parse_freq().
@sansyse sansyse changed the title [bugfix]: option parsing errors #1428 [bugfix]: option parsing errors (fixes #1428) Sep 30, 2024
@Nightwalker-87 Nightwalker-87 added this to the v1.8.1 milestone Oct 3, 2024
@Nightwalker-87 Nightwalker-87 changed the title [bugfix]: option parsing errors (fixes #1428) Fixed option parsing errors Oct 3, 2024
@Nightwalker-87 Nightwalker-87 merged commit 685c41a into stlink-org:testing Oct 3, 2024
10 checks passed
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

st-util cannot parse -V and -F options and --freq option results in a segmentation fault
2 participants