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

Coverity fixes for 2.0b3 #510

Merged
merged 8 commits into from Feb 16, 2023
Merged

Conversation

zdohnal
Copy link
Member

@zdohnal zdohnal commented Feb 16, 2023

Hi Till,

I did a coverity scan for cups-filters during the rebase and the following
issues were found - I fixed them by commits in this PR - would you mind merging it?

Close file descriptor in case of error
Delete identical branch
Ensure we have NULL terminator
Move the allocation and big arrays into scope where it is needed
Free the struct at the end of function
Ensure that PrinterPlanes is not zero
Alloc the array only in case we need it to prevent overwriting pointer
Use default branch instead of specific one
@tillkamppeter tillkamppeter merged commit 64b3da4 into OpenPrinting:master Feb 16, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants