dwcaress / MB-System

MB-System is an open source software package for the processing and display of bathymetry and backscatter imagery data derived from multibeam, interferometry, and sidescan sonars.
https://www.mbari.org/products/research-software/mb-system/
Other
127 stars 45 forks source link

Addressed possible array overflow warnings #1420

Closed dwcaress closed 10 months ago

dwcaress commented 10 months ago

Addressed possible array overflow warnings in src/mbio/mb_process.c src/mbnavadjust/mbnavadjust_io.c src/mbview/mbview_pick.c by changing sprintf() calls to snprintf() with the write length limited to the size of the target array.