[tex-live] Re: [tex-implementors] Re: bug in etex

Olaf Weber olaf at infovore.xs4all.nl
Wed Jul 14 14:53:23 CEST 2004

David Kastrup writes:
> Olaf Weber <olaf at infovore.xs4all.nl> writes:

>> I strongly recommend inserting a trap in the location given, to verify
>> whether in the reference implementation we also end up "dereferencing"
>> a null.

>> @x l.2737 - guard against |sa_ptr|(|null|).
>>     else q:=sa_ptr(cur_ptr)
>> @y
>>     else if cur_ptr=null then q:=null else q:=sa_ptr(cur_ptr)
>> @z

> That sounds like trying to mask instead of fixing a bug.

Normally I would agree, but this idiom is common in the etex source,
so I would not be surprized if the problem is indeed just that this
check was omitted here.  (Note that the subsequent code does check
whether q is null.)

Olaf Weber

               (This space left blank for technical reasons.)

More information about the tex-live mailing list