| Summary: | Searching the latest cauldron x86_64 swish-e indexes is prone to failure or segault | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | William Murphy <warrendiogenese> |
| Component: | RPM Packages | Assignee: | Thomas Spuhler <thomas> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa |
| Version: | Cauldron | Keywords: | PATCH, Triaged, UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | swish-e-2.4.7-11.mga4.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | Proposed patch | ||
|
Description
William Murphy
2013-12-05 17:21:43 CET
Created attachment 4577 [details] Proposed patch There hasn't been a new release in 4 years, but the project is in, however slight, active development and I make good use of it. Rather than sulk, I went bug hunting. I found fixes to 2 other minor bugs and the solution to this one. At first sight, this looked like a fix: http://dev.swish-e.org/ticket/14 This failure is caused by using memcpy on overlapping memory areas in remove_worddata_longs. It's been there for years and just now failed. Changing memcpy to memmove fixed it. I've attached a patch that fixes both of these bugs and silences this annoying warning: err: Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/lib/swish-e/swishspider line 97 I've tested the patch here and all is good again :)
Manuel Hiebel
2013-12-05 17:26:21 CET
Keywords:
(none) =>
PATCH, Triaged, UPSTREAM Thanks a lot for the Error Report and even more thanks for the Patch. Would you please test it. (This patch makes it build again, passing the test) Status:
NEW =>
ASSIGNED No more error reports and it builds now. I consider it as fixed Status:
ASSIGNED =>
RESOLVED |