Subject | Re: [IB-Architect] Bug in gpre |
---|---|
Author | Mark O'Donohue |
Post date | 2000-08-02T01:55:45Z |
Ive sent a copy of this to ib-build@... so it doesn't get lost until
we sort out the CVS issue.
Regards
Mark
ib-architect@... wrote:
we sort out the CVS issue.
Regards
Mark
ib-architect@... wrote:
> It seems that in code generated by gpre, it doesn't check the return
> value from isc_receive().
>
> I noticed this while looking at the following piece of generated code
> from DYN_UTIL_generate_field_name() in jrd/dyn_util.c
>
> isc_receive ((long*) 0L, &request, (short) 1, (short) 2,
> &isc_24, (short) 0);
> if (!isc_24.isc_25) break;
>
> Whatever the reason, isc_receive fails. This code then continues by
> reading isc_24.isc_25, which at this point is uninitialized and at
> best contains random values.
>
> This code is probably emitted by gen_receive() in gpre/c_cxx.c, but
> from that point I'm cleless of how to fix it. Anyone have an idea?
>
> --
> Mike Nordell
>
> _______________________________________________
> Ib-architect mailing list
> Ib-architect@...
> http://mers.com/mailman/listinfo/ib-architect
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Architect-unsubscribe@onelist.com