We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem description
The patch https://github.com/termux/termux-packages/blob/master/packages/perl/perlio.c.patch can make an issue in the code
Steps to reproduce
The considered fragment of perlio.c is
int fd = -1; char tempname[] = "/tmp/PerlIO_XXXXXX"; const char * const tmpdir = TAINTING_get ? NULL : PerlEnv_getenv("TMPDIR"); SV * sv = NULL; int old_umask = umask(0177); if (tmpdir && tmpdir) { / if TMPDIR is set and not empty, we try that first */ sv = newSVpv(tmpdir, 0); sv_catpv(sv, tempname + 4); fd = Perl_my_mkstemp_cloexec(SvPVX(sv)); }
I think inserting the prefix in tempname makes "tempname + 4" wrong.
I do not know how exactly reproduce this issue runtime.
The text was updated successfully, but these errors were encountered:
perl: fix perlio.c.patch
24856a6
See issue #4738.
Thanks, that should be fixed in 24856a6.
Sorry, something went wrong.
6e9ea3f
See issue termux#4738.
No branches or pull requests
Problem description
The patch https://github.com/termux/termux-packages/blob/master/packages/perl/perlio.c.patch can make an issue in the code
Steps to reproduce
The considered fragment of perlio.c is
I think inserting the prefix in tempname makes "tempname + 4" wrong.
I do not know how exactly reproduce this issue runtime.
The text was updated successfully, but these errors were encountered: