Pacman

Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
Tasklist

FS#23314 - [pacman] segfault when a database includes deltas

Attached to Project: Pacman
Opened by tuxce (tuxce) - Thursday, 17 March 2011, 15:41 GMT
Last edited by Dan McGee (toofishes) - Sunday, 20 March 2011, 16:59 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Critical
Priority Normal
Reported Version 3.5.0
Due in Version 3.5.1
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
When a database includes delta files, pacman segfaults.

Version: pacman 3.5.0-1

Steps to Reproduce:
Add a server with deltas as primary mirror (eg: http://delta.archlinux.fr/$repo/os/$arch)
Then:
pacman -Syy
pacman -Ss python

(python is just an example)

Patch attached.
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 20 March 2011, 16:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Commit b48f71841712d1
Comment by Dan McGee (toofishes) - Thursday, 17 March 2011, 15:47 GMT
Good catch. I'm going to adjust your patch to follow normal coding style rules though, but totally dropped the ball on actually parsing the delta here...

Loading...