-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8373475: Unintentional format string in logString of AccessInfo.cpp #28950
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| /* | ||
| * Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved. | ||
| * Copyright (c) 2005, 2025, Oracle and/or its affiliates. All rights reserved. | ||
| * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
| * | ||
| * This code is free software; you can redistribute it and/or modify it | ||
|
|
@@ -97,8 +97,7 @@ void logString(FILE *logfile, const char *msg, ...) { | |
| va_start(argprt, msg); | ||
| vsnprintf(tmpbuf, sizeof(tmpbuf), msg, argprt); | ||
|
|
||
| fprintf(logfile, tmpbuf); | ||
| fprintf(logfile, "\n"); | ||
| fputs(tmpbuf, logfile); | ||
|
||
| fflush(logfile); | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.