The issue is related to the sorting functionality in the `iio gts build avail time table` function, which is not working as intended. This could result in an out-of-bounds access when the time is zero. Specifically, when `gts->itime table[i].time us` is zero, the inner for-loop may not terminate and perform out-of-bound writes. If none of the `gts->itime table[i].time us` values are zero, the elements will be copied without being sorted.