-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
From @rcurtin regarding the 4.4.0 R build on matrix, we have R CMD check returning:
* checking compiled code ... WARNING
File ‘mlpack/libs/mlpack.so’:
Found ‘__sprintf_chk’, possibly from ‘sprintf’ (C)
Object: ‘image_converter.o’
The quick fix here is to switch sprintf() use cases to snprintf() in the offending stb_image_write.h library to ensure a maximum number of bytes to be used in the buffer declared.
/cc @eddelbuettel
eddelbuettel