Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#7380 - [ALPM] alpm_trans_commit pointers

Attached to Project: Pacman
Opened by Georg Grabler (STiAT) - Wednesday, 06 June 2007, 22:25 GMT
Last edited by Dan McGee (toofishes) - Monday, 31 December 2007, 05:12 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.4
Due in Version 3.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
alpm crashes on passing NULL to alpm_trans_commit in a sync operation.

I accidentally passed NULL to alpm_trans_commit in a sync operation (very accidentally by writing NULL), and alpm segfaulted. Of course, it's nothing expected.

Since a compiler won't warn about NULL passed to this function (it's expected on add), i think alpm should be able to handle this properly and return an error.

Steps to Reproduce:
- Initialize a sync transaction
- commit it using NULL as parameter
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 31 December 2007, 05:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in GIT

Loading...