Add user input validation to prevent out-of-bound access. Adresses DSO-14405
Add user input validation to prevent out-of-bound access.
Adresses DSO-14405

IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense