Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Notes.
[git.ikiwiki.info.git]
/
doc
/
bugs
/
prune_causing_taint_mode_failures.mdwn
diff --git
a/doc/bugs/prune_causing_taint_mode_failures.mdwn
b/doc/bugs/prune_causing_taint_mode_failures.mdwn
index 3187ed54f4839805c6bb75b05414b5527e26b6cb..5fc1d8b75d379ebc71c1f2b53d6452c225b1b1ab 100644
(file)
--- a/
doc/bugs/prune_causing_taint_mode_failures.mdwn
+++ b/
doc/bugs/prune_causing_taint_mode_failures.mdwn
@@
-1,14
+1,17
@@
Using ikiwiki version 2.5gpa1 (the backport to Debian 3.1), I suddenly started getting the following error when rebuilding the wiki:
Using ikiwiki version 2.5gpa1 (the backport to Debian 3.1), I suddenly started getting the following error when rebuilding the wiki:
+<pre>
successfully generated /home/ikiwiki/cgi-bin/ikiwiki.cgi
Insecure dependency in rmdir while running with -T switch at /usr/share/perl5/IkiWiki/Render.pm line 242.
BEGIN failed--compilation aborted at (eval 5) line 130.
successfully generated /home/ikiwiki/cgi-bin/ikiwiki.cgi
Insecure dependency in rmdir while running with -T switch at /usr/share/perl5/IkiWiki/Render.pm line 242.
BEGIN failed--compilation aborted at (eval 5) line 130.
+</pre>
I've no idea what's happening (hey, I'm a C programmer), but I've hacked prune() to workaround this as follows:
I've no idea what's happening (hey, I'm a C programmer), but I've hacked prune() to workaround this as follows:
+<pre>
use Scalar::Util qw(tainted);
use Scalar::Util qw(tainted);
-sub prune ($) {
#{{{
+sub prune ($) {
my $file=shift;
unlink($file);
my $file=shift;
unlink($file);
@@
-22,4
+25,11
@@
sub prune ($) { #{{{
$dir = $1;
}
}
$dir = $1;
}
}
-} #}}}
+}
+</pre>
+
+> Old versions of perl are known to have bugs with taint checking.
+> I don't really support using ikiwiki with the perl 5.8.4 in debian
+> oldstable, and would recommend upgrading. --[[Joey]]
+
+[[!tag patch done]]