FS#48295 - [icu] pkgdata segfaults
Attached to Project:
Arch Linux
Opened by Janne Heß (das_j) - Monday, 22 February 2016, 08:44 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 03 July 2016, 15:56 GMT
Opened by Janne Heß (das_j) - Monday, 22 February 2016, 08:44 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 03 July 2016, 15:56 GMT
|
Details
Description:
When using pkgdata (comes with extra/icu), the -m option segfaults. -m accepts the following values: files, dll, library, common, archive, static. When using anything else than common, it segfaults without validating the other parameteres. I can reproduce this on two Arch machines, in a nspawn container and in the archiso. As there are no other bug reports on the internet, I suspect Arch to be the only distribution with this problem. I created a patch and an updated PKGBUILD (added a source file and a patch call in prepare()): https://gist.github.com/dasJ/790d600902631950b7a1 Additional info: * package version(s) icu 56.1-2 * config and/or log files etc. $ pkgdata -m static [1] 25923 segmentation fault (core dumped) pkgdata -m static Steps to reproduce: You can either try to build LTFS from http://www.quantum.com/serviceandsupport/opensource/ltfs/index.aspx (./configure && make) or just run one of these: pkgdata -m files pkgdata -m dll pkgdata -m library pkgdata -m archive pkgdata -m static |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Sunday, 03 July 2016, 15:56 GMT
Reason for closing: Upstream
Additional comments about closing: fix will be included in the next upstream release.
Sunday, 03 July 2016, 15:56 GMT
Reason for closing: Upstream
Additional comments about closing: fix will be included in the next upstream release.
The comment before the patched macro clearly states that no null check should be required.
I assume you've already done debug builds with logs you can provide.