angus-mail: fix build (#9434)

This commit is contained in:
Khaled Yakdan 2023-01-17 02:20:09 -08:00 committed by GitHub
parent 1fe8664cbb
commit 14a026e173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -17,9 +17,10 @@
import com.code_intelligence.jazzer.api.FuzzedDataProvider;
import com.sun.mail.util.ASCIIUtility;
import java.lang.NumberFormatException;
import org.eclipse.angus.mail.util.ASCIIUtility;
public class ASCIIUtilityFuzzer {
public static void fuzzerTestOneInput(FuzzedDataProvider data) {
byte[] input = data.consumeRemainingAsBytes();

View File

@ -16,11 +16,13 @@
import com.code_intelligence.jazzer.api.FuzzedDataProvider;
import com.sun.mail.util.BASE64EncoderStream;
import java.lang.NumberFormatException;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.eclipse.angus.mail.util.BASE64EncoderStream;
import org.eclipse.angus.mail.util.ASCIIUtility;
public class BASE64EncoderStreamFuzzer {
public static void fuzzerTestOneInput(FuzzedDataProvider data) {
ByteArrayOutputStream baos = new ByteArrayOutputStream();