| Summary: | deprecated regexp in monitor-parse-edid | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Marc Krämer <mageia> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | monitor-edid-3.1-8.mga6.src.rpm | CVE: | |
| Status comment: | |||
ah there is one more thing: mga-bg-res[919]: mmap /dev/zero: Operation not permitted Patch to apply:
--- /bin/monitor-parse-edid 2018-05-23 14:47:56.947435963 +0200
+++ /bin/monitor-parse-edid 2018-05-23 14:48:00.530389613 +0200
@@ -55,7 +55,7 @@ foreach my $raw_edid (@raw_edids) {
use Data::Dumper;
$Data::Dumper::Sortkeys = 1;
my $s = Dumper($edid);
- $s =~ s/.*? = {/+{/; # remove variable name we don't want
+ $s =~ s/.*? = \{/+{/; # remove variable name we don't want
$s =~ s/};$/}/m;
print $s;
} elsif ($MonitorsDB) {Summary:
deprecated regexp =>
deprecated regexp in monitor-parse-edid |
systemd is announcing an deprecated regexp, which may cause problems in future: mga-bg-res[919]: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/.*? = { <-- HERE / at /usr/bin/monitor-parse-edid line 58.