lua-users home
lua-l archive

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

I have never used BoundChecker, but we frequently run Purify over the code,
without any warning. However, lstring.c does a trick that may bother
BoundChecker: It defines a struct that ends with «char str[1]», and mallocs
it with a bigger size, to fit a string into this field. Maybe BoundChecker
trusts this faked 1 and complains about that.

(It seems that the new ANSI C will have a feature for that.)

-- Roberto