| Summary: | drakrpm-update crashed because of wrong syntax in skip list | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Low | CC: | anaselli, jyri2000, marja11, thierry.vignaud |
| Version: | Cauldron | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA5TOO | ||
| Source RPM: | perl-URPM | CVE: | |
| Status comment: | |||
| Attachments: | patch to avoid the crash that print a warning message | ||
|
Description
Morgan Leijström
2015-02-25 00:37:24 CET
Thierry Vignaud
2015-02-25 09:41:35 CET
Priority:
Normal =>
Low Created attachment 5945 [details]
patch to avoid the crash that print a warning message
A quick patch to avoid the problem.
dragoraUpdated is affected too, obviously.CC:
(none) =>
anaselli patch does skip any lines of skip-list if a regexp is wrong, but that is better than crashing imo Maybe try that patch in cauldron after mga5 release And update the bug to ask for popping up and/or log a message when syntax is wrong?
Thierry Vignaud
2015-05-05 06:42:16 CEST
Keywords:
(none) =>
PATCH It would be better to use $urpm->{debug} instead of warn
Samuel Verschelde
2015-05-31 21:41:10 CEST
Whiteboard:
(none) =>
MGA5TOO for mga6 ?
Marja Van Waes
2016-10-15 23:43:12 CEST
CC:
(none) =>
marja11 commit 070f1be3d5c3aa813f61d061c2a0fd38c2477c08
Author: Angelo Naselli <anaselli@...>
Date: Sun Oct 16 12:43:49 2016 +0200
mga#15353 don't crash if re is wrong
---
Commit Link:
http://gitweb.mageia.org/software/rpm/perl-URPM/commit/?id=070f1be3d5c3aa813f61d061c2a0fd38c2477c08
@thierry please review it I used debug but i could not be able to test it :(
Thierry Vignaud
2016-10-16 12:51:35 CEST
Source RPM:
rpmdrake-6.15-1.mga5 =>
perl-URPM Looks good to me. I'm considering just backporting future URPM-5.0.9 to mga5... commit a31506d8123747d15346f7808e8c14bce91bcd9b
Author: Angelo Naselli <anaselli@...>
Date: Sun Oct 16 12:43:49 2016 +0200
mga#15353 don't crash if re is wrong
---
Commit Link:
http://gitweb.mageia.org/software/rpm/perl-URPM/commit/?id=a31506d8123747d15346f7808e8c14bce91bcd9b
Closing Status:
NEW =>
RESOLVED commit 49d5faf692708da20ce26dd4e0b7d6ab6da2b71f
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Thu Oct 20 16:20:01 2016 +0200
fix crash introduced by mga#15353 fix (mga#19618)
rationale:
- {debug_URPM} only exists if we're in debug mode
- as this is an actual error, let's just always report it
bug introduced in commit 070f1be3d5c3aa813f61d061c2a0fd38c2477c08
---
Commit Link:
http://gitweb.mageia.org/software/rpm/perl-URPM/commit/?id=49d5faf692708da20ce26dd4e0b7d6ab6da2b71f
Bug links:
Mageia
https://bugs.mageia.org/15353
https://bugs.mageia.org/19618
commit 9921c980dc294b6ce31450c2160a5247d4f04e6d
Author: Thierry Vignaud <thierry.vignaud@...>
Date: Thu Oct 20 16:20:01 2016 +0200
fix crash introduced by mga#15353 fix (mga#19618)
rationale:
- {debug_URPM} only exists if we're in debug mode
- as this is an actual error, let's just always report it
bug introduced in commit 070f1be3d5c3aa813f61d061c2a0fd38c2477c08
(cherry picked from commit 49d5faf692708da20ce26dd4e0b7d6ab6da2b71f)
---
Commit Link:
http://gitweb.mageia.org/software/rpm/perl-URPM/commit/?id=9921c980dc294b6ce31450c2160a5247d4f04e6d
Bug links:
Mageia
https://bugs.mageia.org/15353
https://bugs.mageia.org/19618
Grrr.... it happens :D |