Subject: Re: bug#61514: 30.0.50; sadistically long xml line hangs emacs

From: Eli Zaretskii <[email-masked]>
Date: Sat, 18 Mar 2023 13:10:01 +0200

> Date: Sat, 18 Mar 2023 10:59:20 +0000
> From: Gregory Heytings <[email-masked]>
> cc: Eli Zaretskii <[email-masked]>, [email-masked], 
>     Stefan Monnier <[email-masked]>
> 
> 
> The patch to xmltok.el has just been pushed to emacs-29 (0eddfa28eb), and 
> I'm therefore closing this bug.

Thanks, but shouldn't we limit the END argument of with-restriction to
not exceed (point-max)?  I see no protection from this anywhere in the
subroutines called by with-restriction.