Displaying 1 result from an estimated 1 matches for "cox_callback".
Did you mean:
cox_rcallback
2012 Mar 27
2
PROTECT help
...andard aproach by now. The routine in
question has to do with penalized Cox models, the C code needs to get
the value of the penalty and the penalty is an arbitrary S expression
passed down from top level.
Terry T
----------------------------
In survival_2.36-12 (and earlier), in the function cox_callback() at
cox_Rcallback.c:40:
PROTECT(coxlist=eval(lang2(fexpr,data),rho));
the return value of the call to lang2() is vulnerable if allocations
within eval() give rise to garbage collection.
(Discovered during CXXR development.)
Andrew