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

Simplify bounds checks #701

Closed
wants to merge 1 commit into from
Closed

Conversation

AZero13
Copy link
Contributor

@AZero13 AZero13 commented May 15, 2023

We can save a lot of work this way.

Also, detect truncation in strlcpy.

cups/dest-options.c Fixed Show fixed Hide fixed
@AZero13 AZero13 force-pushed the bounds branch 8 times, most recently from f4ec2aa to 594271c Compare May 15, 2023 17:10
@michaelrsweet michaelrsweet self-assigned this May 16, 2023
@michaelrsweet
Copy link
Member

Honestly, I don't see this as improving, simplifying, or fixing anything. I'll hold this for potential incorporation into 2.5 but no promises.

@michaelrsweet michaelrsweet added enhancement New feature or request priority-low labels May 16, 2023
@michaelrsweet michaelrsweet added this to the v2.5 milestone May 16, 2023
@AZero13 AZero13 force-pushed the bounds branch 5 times, most recently from e4a673d to bfaa423 Compare June 3, 2023 14:52
@AZero13 AZero13 force-pushed the bounds branch 2 times, most recently from d05b0b3 to f331dae Compare June 11, 2023 21:38
@AZero13 AZero13 force-pushed the bounds branch 7 times, most recently from 7d77ba8 to b0e1f2f Compare October 17, 2023 20:29
@AZero13 AZero13 force-pushed the bounds branch 6 times, most recently from 9d8721d to 449ecd6 Compare October 17, 2023 20:36
@AZero13
Copy link
Contributor Author

AZero13 commented Oct 17, 2023

Updated @michaelrsweet

cups/http-addrlist.c Fixed Show fixed Hide fixed
cups/http-addrlist.c Fixed Show fixed Hide fixed
@AZero13 AZero13 closed this Mar 31, 2024
@AZero13 AZero13 deleted the bounds branch March 31, 2024 00:23
@AZero13 AZero13 restored the bounds branch March 31, 2024 00:24
@AZero13 AZero13 reopened this Mar 31, 2024
We can save a lot of work this way.
@michaelrsweet
Copy link
Member

Still not convinced this is necessary. Sorry, but closing...

@michaelrsweet michaelrsweet added wontfix This will not be worked on and removed enhancement New feature or request priority-low labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants