diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-20 04:54:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-20 04:54:53 +0000 |
commit | cb5953d685cec7d1e5d677ac4d2ddbe33ef0a803 (patch) | |
tree | e9a08ee62f26a14c0e39ec84ea16f867ce892576 /perlapi.c | |
parent | 6002328acc4eebf94540b6802dbffeac7367da7a (diff) | |
download | perl-cb5953d685cec7d1e5d677ac4d2ddbe33ef0a803.tar.gz |
After some reading I don't think we can blindly
use systems' realpath(). Too many security problems,
too many buggy implementations.
TODO: the realpath() emulation code in util.c doesn't
seem fully operational? (readlink(), for example?)
p4raw-id: //depot/perl@10744
Diffstat (limited to 'perlapi.c')
-rw-r--r-- | perlapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3172,9 +3172,9 @@ Perl_sv_pvbyten_force(pTHXo_ SV* sv, STRLEN* lp) #undef Perl_sv_realpath int -Perl_sv_realpath(pTHXo_ SV* sv, char *path, STRLEN len) +Perl_sv_realpath(pTHXo_ SV* sv, char *path, STRLEN maxlen) { - return ((CPerlObj*)pPerl)->Perl_sv_realpath(sv, path, len); + return ((CPerlObj*)pPerl)->Perl_sv_realpath(sv, path, maxlen); } #undef Perl_sv_reftype |