rstudio / sass

Sass compiler package for R
https://rstudio.github.io/sass/
Other
102 stars 17 forks source link

warning: format string is not a string literal #132

Closed cpsievert closed 9 months ago

cpsievert commented 9 months ago

CRAN has asked for a fix the following new problem

(from https://cran.r-project.org/web/checks/check_results_sass.html)

Version: 0.4.7
Check: whether package can be installed
Result: WARN 
  Found the following significant warnings:
    compile.c:103:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    compile.c:132:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/sass.Rcheck/00install.out’ for details.
  * used C compiler: ‘Debian clang version 17.0.5 (1)’
  * used C++ compiler: ‘Debian clang version 17.0.5 (1)’
Flavor: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/sass-00check.html)

See also this thread https://positpbc.slack.com/archives/C5EN5FM52/p1701186043841779