Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev