[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some statements whose value is ignored in SRL



"Abarbanel, David  (US SSA)" <david.abarbanel@xxxxxxxxxxxxxx> writes:

> I believe you are correct in both of these findings.  Obviously the
> '*' is useless since we are de-referencing pointers but not doing
> anything with the values.  The second one is particularly
> troublesome because the decodedLen pointer will now point to the
> wrong chunk of memory.  So I agree it should be arithmetic on the
> de-referenced value, not on the pointer itself.

Thanks for confirming that.  We've not noticed any problems caused by
this, but we'll change it in our local version of the code.

[...]