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
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
|
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
Monday, 31 December 2007, 05:12 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in GIT