hdf5
hdf5 copied to clipboard
Replace all sprintf with safer snprintf
Even after https://github.com/HDFGroup/hdf5/pull/1815 there are 16 remaining uses of HDsprintf() left. They were a bit too tricky for me to confidently change as I don't know the codebase well.
@jhendersonHDF
I took another stab at this, and was disappointed to see there are more sprintf than there used to be.
Anyway, I fixed more of them. After this there is only 1 left!
Thanks @seanm, I'd forgotten about this; will review.
All done. Yay!