gisle / digest-md5 Goto Github PK
View Code? Open in Web Editor NEWThe Digest::MD5 Perl module
The Digest::MD5 Perl module
I didn't see any feedback for several bugs on rt.cpan.org, is that still the correct place to post bugs for this or if they belong here on Github now. I can add more details if that's the case and I did test it on Linux with plenv and a stock perl 5.22.0.
https://rt.cpan.org/Public/Bug/Display.html?id=107528
Perhaps @flimzy wants to look?
I do have a patch that the tests pass with, but it's part of ripping out the guts of MD5.xs to use the OpenBSD version.
https://github.com/afresh1/OpenBSD-perl/blob/master/patches/GOOD/use_our_MD5.patch
The relevant bit is that I set ST(2)
to be an empty string and only copy the buffer if there is one. I'm not exceedingly familiar with perlguts so there could be a better way.
+ ST(2) = sv_2mortal(newSVpv("",0));
+ if (((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1)) != 0)
+ ST(2) = sv_2mortal(newSVpv((char *)ctx->buffer,
Hey! We've got problems on our production servers because of very non-pretty bug. When we call context on buffer with length of 64 bytes, or 128 bytes (etc...) it returns as 3-rd parameter non-zero string. There is very necessary patch here:
Please, could you merge it?!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.