Displaying 1 result from an estimated 1 matches for "rf_vectorsubscript".
2009 Nov 03
1
memory misuse in subscript code when rep() is called in odd way
....11.0 Under development (unstable) (2009-10-20
r50178)
valgrind says that the C code is using uninitialized data:
> rep(1:4, 1:8, each=2)
==26459== Conditional jump or move depends on uninitialised value(s)
==26459== at 0x80C557D: integerSubscript (subscript.c:408)
==26459== by 0x80C5EDC: Rf_vectorSubscript (subscript.c:658)
==26459== by 0x80C5FFD: Rf_makeSubscript (subscript.c:613)
==26459== by 0x80C7368: do_subset_dflt (subset.c:158)
==26459== by 0x80B4283: do_rep (Rinlinedfuns.h:161)
==26459== by 0x816491B: Rf_eval (eval.c:464)
==26459== by 0x805A726: Rf_ReplIteration (main.c:262)
==...