Skip to content

Commit

Permalink
Merge pull request #601 from hiddenalpha/FixFormatStringVulnerability…
Browse files Browse the repository at this point in the history
…-20240625

(SECURITY) Fix format string injection vulnerability.
  • Loading branch information
hiddenalpha authored Jun 25, 2024
2 parents 8b63b39 + c4faff5 commit 687890d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void handle(final RoutingContext ctx) {
response.setStatusCode(StatusCode.INTERNAL_SERVER_ERROR.getStatusCode());
response.setStatusMessage(statusMessage);
response.end();
log.error(statusMessage, gateleenExceptionFactory.newException(result.cause()));
log.error("{}", statusMessage, gateleenExceptionFactory.newException(result.cause()));
} else {
Buffer buffer = result.result().body();
int headerLength = buffer.getInt(0);
Expand Down

0 comments on commit 687890d

Please sign in to comment.