3 ms·
He found vulnerabilities in (very old) third-party software written in Perl (that's the 1%) then did nothing but lie and attribute them to the language while de
by Mithaldu 10y ago
He found vulnerabilities in (very old) third-party software written in Perl (that's the 1%) then did nothing but lie and attribute them to the language while demonstrating his (accidental or willful) lack of understanding of the language. His code slides often aren't even valid Perl, which is an achievement in itself.
- berdario 10y agoI watched both of his talks, but I've never heard before about this "code on the slide was not valid Perl" complaint. You're not talking about a small typo, are you? Can you point to the wrong examples/slides?
- Mithaldu 10y agoProblems that make it look like he has never written working Perl code without accidents intervening on his behalf. I'll get examples later.
- fnord123 10y agohttp://blogs.perl.org/users/joel_berger/2015/12/response-to-the-perl-jam-2.html http://blogs.perl.org/users/joel_berger/2015/12/response-to-...
- Mithaldu 10y agoExamples, with explanation of wrong in comment. First talk: print $hash; # he accompanied this by a dump of the hash, when in reality it would print the reference id print ($a, $b, $c); # same thing as above, pretends it does a dump, when the reality is wildly different He does these repeatedly in his second talk: $arg1, $arg2 = @_; # assigns the length of @_ to $arg2, instead of unpacking args. only the newest of newbies would get this wrong if(ref $arg1 eq 'HASH') print $arg1{'key'}; # perl does not have block-less pre-fixed ifs else print $arg1; # same with this, entirely nonsense The entire style of his code (paren-usage, quoted hash keys) also smells of code copied from bad (w3schools) perl tutorials.
- berdario 10y agoYeah, quite damning and sloppy on his behalf... Thanks for pointing this stuff out!
- fnord123 10y agoAre you talking about CGI.pm? That was removed from core modules in 5.22 (in 2015) which was only the year before his talk. Debian Jesse even has Perl 5.20 as the stable version[1]. Centos 7 ships with 5.16. Of course you can have your sysadmin install an up to date version, but CGI.pm is still in play as part of Perl. Maybe this year he'll talk about Perl 6 since 5.x is all old hat. ;) [1] https://packages.debian.org/jessie/perl-base https://packages.debian.org/jessie/perl-base
- Mithaldu 10y agoNo, the vulns were in software that used CGI.pm and used it naive ways. CGI.pm had a design decision in its API, that can lead to, but does not constitute a vulnerability, and is a feature to those using it appropiately.