bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Fix potential infinite loop in ClassUtil (internalMethodParameterCount)

Open hsuk04 opened this issue 6 months ago • 0 comments

Description

Applying a fix that was applied to the original codebase https://github.com/Guardsquare/proguard-core/commit/c6d8746b06d8ab8bff55b6609eb700f2387778eb that has not been applied here yet.

As per the original commit: Summary: When you forget an ending semicolon in a method descriptor, e.g. (Ljava/lang/String)V, the parameter count method previously just ended up in an infinite loop. This is now detected and prevented by throwing an exception.

hsuk04 avatar Jun 14 '25 14:06 hsuk04