Add in patch files

This commit is contained in:
Brian Read
2023-07-15 11:53:27 +01:00
parent cdf334b1cd
commit f11e5452e9
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -ur Object-Persistence-0.92-1/lib/Persistence/Object/Simple.pm Object-Persistence-0.92-2/lib/Persistence/Object/Simple.pm
--- Object-Persistence-0.92-1/lib/Persistence/Object/Simple.pm Wed Jan 30 02:47:14 2002
+++ Object-Persistence-0.92-2/lib/Persistence/Object/Simple.pm Thu May 23 14:03:48 2002
@@ -146,7 +146,7 @@
close C;
# untaint the input meaningfully
- if ($objectfile =~ /^(\$VAR1 = bless[^;]+;)$/s) {
+ if ($objectfile =~ /^(\$VAR1 = bless.+)$/s) {
my $object = eval "$1";
croak "$args{ __Fn } is corrupt. Object loading aborted." if $@;