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

Update ftpd.c to use va_end() #517

Closed
wants to merge 1 commit into from
Closed

Update ftpd.c to use va_end() #517

wants to merge 1 commit into from

Conversation

Coldfirex
Copy link

va_start opened but not closed by va_end()

pointed out by cppcheck

va_start opened but not closed by va_end()

pointed out by cppcheck
@Coldfirex
Copy link
Author

@asomers asomers self-assigned this Jul 27, 2021
@asomers
Copy link
Member

asomers commented Jul 27, 2021

Acutally, that function is dead code. It's been #ifdef'd out ever since SVN r13139 in 1996. I'll just delete the whole thing.

@asomers asomers closed this Jul 27, 2021
haiku-bot pushed a commit to haiku/haiku that referenced this pull request Jul 29, 2021
as pointed out by cppcheck

Notified upstream FreeBSD of issue.  They realized this was dead code and ripped out.  Syncing those specific changes only.

freebsd/freebsd-src#517
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257317
https://cgit.freebsd.org/src/commit/?id=674400eb20b65369a88b1cb778d729bc297832c9

Change-Id: I4951fa3ce42798895a8222d927067640267d0bbc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4214
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
hardenedbsd-services pushed a commit to HardenedBSD/hardenedBSD that referenced this pull request Feb 10, 2023
Co-authored-by: David Chisnall <davidchisnall@users.noreply.github.com>
Co-authored-by: Robert Norton <1412774+rmn30@users.noreply.github.com>
Co-authored-by: Nathaniel Wesley Filardo <nfilardo@microsoft.com>
Co-authored-by: Istvan Haller <31476121+ihaller@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants