Skip to content

Commit

Permalink
Disable message pattern lookup by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo authored and huanghongxun committed Dec 10, 2021
1 parent 5509232 commit c31269a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ private Command generateCommandLine(File nativeFolder) throws IOException {

res.addDefault("-Dfml.ignoreInvalidMinecraftCertificates=", "true");
res.addDefault("-Dfml.ignorePatchDiscrepancies=", "true");

// Fix RCE vulnerability of log4j2
res.addDefault("-Dlog4j2.formatMsgNoLookups=", "true");
}

Proxy proxy = options.getProxy();
Expand Down

0 comments on commit c31269a

Please sign in to comment.