]> git.pld-linux.org Git - packages/poldek.git/blob - ls-security.patch
- rel 3; missing fix for types in tndb_get_all
[packages/poldek.git] / ls-security.patch
1 improve matching security updates from changelogs:
2 - match "security" case insensitively
3 - match CVE-20xx, I doubt poldek exists in 2100, or I simply don't care :D
4
5 --- poldek-0.30/pkgu.c~ 2011-11-26 01:45:15.000000000 +0200
6 +++ poldek-0.30/pkgu.c  2012-01-26 11:15:24.628984938 +0200
7 @@ -508,7 +508,7 @@
8          struct changelog_ent *ent = n_array_nth(entries, i);
9          const char *m = ent->message;
10          
11 -        if (strstr(m, "CVE-2") || strstr(m, "CVE-19") || strstr(m, "ecurity")) {
12 +        if (strstr(m, "CVE-20") || strstr(m, "CVE-19") || strcasestr(m, "security")) {
13              yes = 1;
14              break;
15          }
This page took 0.02997 seconds and 3 git commands to generate.