Skip to content

Commit

Permalink
(SECURITY) Fix format string injection vulnerability.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenalpha committed Jun 25, 2024
1 parent b7a8d64 commit c4faff5
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 c4faff5

Please sign in to comment.