lua-users home
lua-l archive

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

On 26 Feb 2006, at 7:48, Michael Abbott wrote:

Several similar errors are reported in luaK_posfix() (line 653 of lcode) and other lines of the same module; in luaV_execute(), lines 496 and others of lvm, BoundsChecker also reports some pointer arithmetic range errors.

None of these are errors. This is just copying uninitialized
memory. Either without using it or by overwriting it later with
valid data.

Just for interest sake, how much memory of this type is getting copied
around?  I would have though that copying around data that just gets
overwritten again / never used would have been a bad sign (from an
efficiency standpoint)?

The blocks involved are usually fairly small, say between a few to a few hundred bytes -- regular struct-sized suff, I'd say.