Merge "SampleTable: check integer overflow during table alloc" into lmp-dev