On Mon, 18 Dec 2017, Sven Schreiber wrote:
[taking this to devel]
Am 18.12.2017 um 21:07 schrieb Riccardo (Jack) Lucchetti:
> On Mon, 18 Dec 2017, Sven Schreiber wrote:
>> OK, very nice -- so how many packages are affected?
>
> I have no idea :D
>
> I could conjure up a script for (a) downloading a package (b) extracting
> the hansl code (c) sanitizing it and (d) repackage, but it'd be quite a
> job.
I don't think that would be necessary. And even not good, because that way
the package authors may miss the update and then continue working with the
old code.
So just to know how many potential problems there are, which could then
probably fixed ad hoc, would be enough for now.
Well, in this case I guess all we need to do is run a simple script on
ricardo.ecn.wfu.edu:
<pseudocode>
if(zip_package) {
unzip gfn_file;
}
grep "sprintf " gfn_file
if(found_at_least_one_match) {
say_something
}
</pseudocode>
I could run a spider on the download page to grab all the package and do
the above locally, but if it can be done directly on the host machine,
it'd be better to do it there.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------