rstudio / httpuv

HTTP and WebSocket server package for R
Other
224 stars 84 forks source link

warning: format string is not a string literal #388

Closed cpsievert closed 7 months ago

cpsievert commented 7 months ago

CRAN has asked for a fix the following new problem

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

Version: 1.6.12
Check: whether package can be installed
Result: WARN 
  Found the following significant warnings:
    webapplication.cpp:223:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/httpuv.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/httpuv-00check.html)