[tex-live] Fix uninitialized read in m-tx grep func

Dr. Werner Fink werner at suse.de
Tue Aug 16 10:41:11 CEST 2022


On 2022/07/25 15:15:52 -0600, Karl Berry wrote:
> Hi Raphael,
> 
>     Note that the upstream m-tx repository seems to be written in pascal
>     but the problematic version in texlive is (auto translated?) C. That's
>     why I sent the patch here. 
> 
> Good sleuthing :), but in fact the C code also comes from the upstream
> maintainer, Bob Tennent. So I sent your patch to him. (Looks perfectly
> sensible to me, FWIW.) --thanks much, karl.

From context I would guess more

   V.matching = true;

as otherwise the while loop will never execute ... or the while loop has
to be change into do { } while (V.matching) ...

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 894 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20220816/6c298f79/attachment.sig>


More information about the tex-live mailing list.