Re: utf8 processing

"Eugene Kuleshov" (via asm Mailing List) <[email protected]> Sun, 9 May 2021 11:10:23 -0400
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CADFjdoVzJoJYo1Q0Nz34Dsz+x5pi7gPvPsx-JVbqegcqA6ESFQ@mail.gmail.com>
This is a multi-part message in MIME format...

------------=_1620573040-12468-5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thank you Remi and x4e,

  I was most curious about the part stating that utf8 string input
into ClassReader didn't match the ClassWriter output.

  regards,
  Eugene


On Sun, May 9, 2021 at 10:23 AM Remi Forax <[email protected]> wrote:
>
> Yes, it has been fixed 7 years ago.
> https://gitlab.ow2.org/asm/asm/-/commit/3e0510cbc9612579f7774591876bd067c=
8dc02dc
>
> R=C3=A9mi
>
> ________________________________
>
> De: "asm" <[email protected]>
> =C3=80: "Eugene Kuleshov" <[email protected]>
> Cc: "asm" <[email protected]>
> Envoy=C3=A9: Dimanche 9 Mai 2021 15:52:10
> Objet: Re: [asm] utf8 processing
>
> Hi Eugene,
>
> No it isn't.
>
> See:
>  * https://gitlab.ow2.org/asm/asm/-/blob/master/asm/src/main/java/org/obj=
ectweb/asm/ByteVector.java#L246
> * https://gitlab.ow2.org/asm/asm/-/blob/master/asm/src/main/java/org/obje=
ctweb/asm/ByteVector.java#L298
>
> Strings that take up more than the maximum number of bytes will be reject=
ed with a "UTF8 string too large" exception.
>
> x4e
>
> =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original =
Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90
> On Sunday, May 9th, 2021 at 14:44, Eugene Kuleshov <[email protected]> wrote:
>
> I'm wondering if the issue with utf8 processing described in this blog st=
ill present?
>
> https://blog.polybdenum.com/2021/05/05/how-i-hacked-google-app-engine-ana=
tomy-of-a-java-bytecode-exploit.html
>
>
>

------------=_1620573040-12468-5
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit


-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

------------=_1620573040-12468-5--