We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5476d84 commit 06ab006Copy full SHA for 06ab006
sanitizers/src/main/java/com/code_intelligence/jazzer/sanitizers/Deserialization.kt
@@ -64,7 +64,7 @@ object Deserialization {
64
// We can't instantiate jaz.Zer directly, so we instantiate and serialize jaz.Ter and then
65
// patch the class name.
66
val baos = ByteArrayOutputStream()
67
- ObjectOutputStream(baos).writeObject(jaz.Ter(jaz.Ter.EXPRESSION_LANGUAGE_SANITIZER_ID))
+ ObjectOutputStream(baos).writeObject(jaz.Ter(jaz.Ter.DESERIALIZATION_SANITIZER_ID))
68
val serializedJazTerInstance = baos.toByteArray()
69
val posToPatch = serializedJazTerInstance.indexOf("jaz.Ter".toByteArray())
70
serializedJazTerInstance[posToPatch + "jaz.".length] = 'Z'.code.toByte()
0 commit comments