Closed kasperdanielhansen closed 9 years ago
(from Tomas Kalibera @kalibera)
I am working on a static checking tool that is looking for memory protection errors in R packages. I think I found some in the affxparser package:
src/R_affx_chp_parser.cpp, in R_affx_GetCHPGenotypingResults, around line 339 the argument of PrintValue has to be protected
Rf_PrintValue(mkString("dudey"))
the temporary string "dudey" could be destroyed within PrintValue before being printed
Best
Thanks @kalibera. I've also seen you're contributions to R core - thanks a bunch. We'll fix this.
Fixed in affxparser 1.41.1 which is now available on Bioc devel.
(from Tomas Kalibera @kalibera)
I am working on a static checking tool that is looking for memory protection errors in R packages. I think I found some in the affxparser package:
src/R_affx_chp_parser.cpp, in R_affx_GetCHPGenotypingResults, around line 339 the argument of PrintValue has to be protected
Rf_PrintValue(mkString("dudey"))
the temporary string "dudey" could be destroyed within PrintValue before being printed
Best