EarthScope / libdali

libdali - The C library for the DataLink protocol
https://earthscope.github.io/libdali/
Apache License 2.0
1 stars 2 forks source link

possible string overflow in portable.c #2

Closed seismopaul closed 1 year ago

seismopaul commented 5 years ago

It seems the newer compiler is highlighting a potential overflow in libdali:

portable.c:667:5: note: 'snprintf' output between 2 and 130 bytes into a destination of size 100

I just fixed it in EW SVN...

pauls-MacBook-Air-3:libdali paulf$ svn commit -m "fixed a potential string overflow in libdali" portable.c

Sending portable.c

Transmitting file data .

Committed revision 7927.

pauls-MacBook-Air-3:libdali paulf$

chad-earthscope commented 1 year ago

Fixed, thanks @seismopaul