-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
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
Missing getmagic in Digest::MD5 #7419
Comments
From perl-5.8.0@ton.iguana.beCreated by perl-5.8.0@ton.iguana.beAgain using tainting as my favorite way to attach magic: perl -Twle 'use Digest::MD5; my $class = "Digest::MD5" . substr($0, 0, 0); $m = $class->new; print STDERR "Got here"; $m->add("")' I think the problem is that MD5_CTX* get_md5_ctx in ext/Digest/MD5/MD5.xs I'm also starting to think that a tainted testsuite is really needed. Perl Info
|
From @smpeters
I tested out the above, adding a SvGETMAGIC(sv) before the call to Inline Patch--- ext/Digest/MD5/MD5.xs.old Tue Jul 5 06:02:12 2005
+++ ext/Digest/MD5/MD5.xs Tue Nov 8 06:33:28 2005
@@ -468,6 +468,7 @@
static MD5_CTX* get_md5_ctx(pTHX_ SV* sv)
{
+ SvGETMAGIC(sv);
if (SvROK(sv)) {
sv = SvRV(sv);
if (SvIOK(sv)) { |
The RT System itself - Status changed from 'new' to 'open' |
From me-02@ton.iguana.beOn Tue, Nov 08, 2005 at 04:37:53AM -0800, Steve Peters via RT wrote:
Indeed I did hope the fix would be that simple (and quite often it is) |
From @cpansproutForwarding to the CPAN queue.... On Sun Jul 11 06:59:45 2004, perl-5.8.0@ton.iguana.be wrote:
PATH=/home/ton/bin.Linux:/home/ton/bin:/home/ton/bin.SampleSetup:/opt/schily/bin:/usr/local/bin:/usr/local/sbin:/home/oracle/product/9.0.1/bin:/usr/local/ar/bin:/usr/games/bin:/usr/X11R6/bin:/usr/share/bin:/usr/bin:/usr/sbin:/bin:/sbin:.
-- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#30673 (status was 'rejected')
Searchable as RT30673$
The text was updated successfully, but these errors were encountered: