Or if the struct padding happens to have different values in it. . .
Yup. Although the current luajit implementaiton clears that with 0 (I think)