[cmake-developers] Segfault

Justin Borodinsky justin.borodinsky at gmail.com
Sun Aug 2 13:35:44 EDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I received a segfault during generation with the attached list-file.
Attached is a patch to master which avoids the null pointer access
causing it, but there may be a better fix.

- -- 
Thanks,
Justin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVvlTwAAoJEJaK8jpvPrt2T8gP/0Xes6K5sYSKil2Dy4rSRMWI
85ZbuT3FqDoGeR43xcIEo0PJwX7WkT3pQGmg8XdaQCo0hyIhnlWQ3dWRPI4eb+XV
GtN5jN0QP+aX5sH877MRySBo3jYva/7xD75ua8cXZRpFfLv0Q8JbxByXduAN13Dv
UvMYorG7B9lDgtNzu1VZVd9oT3AX/eav5mTsMjyGoMIiyLpFmp6XmCk68NJT5nBv
qUkZsvsPVARb9jcXSjf4I0/yDO4t6DuxDs8QYLk+XvSoG+n2h33HR6kIEYib/nRT
CP6bKgItIa4Zdc0Xnoa5zkztv8WYQtFfOWUcdmmD8i93ys5m0vJ+ioxyiFqVfO+g
LK0giWQSLQNLXLp57cgFLx+MKZSvo3pY5JbfajuNyfauwRVh/7BQWD/1j21Gl5Bg
Qj5uCiT/F+TjwOg/UADf1fd+gmQgn6kp7lf25WDuzYK8gbALzValSIc791h/b2MT
KYeqha2fpmtMb/WB1xSWwYvY/q6AawoPdWUIeSQRGUIQgo/wpJOM1xUYrigDUzgk
FH1EXB25f70Qh3+79nH1MhTc0PY5OwwP+4ZQ0s1GvHecja6q8aogdGV/EjJZHV8r
+6P/XwmStePMuSgw5EJZaJapRKmdBwweJ6s2luTLTyL3iPWZ5ufuz3RRvhTGwh38
hBmjaR+oVTG/AsSBkHyj
=NfIW
-----END PGP SIGNATURE-----
-------------- next part --------------
cmake_minimum_required(VERSION 3.0)

find_package(Qt4 REQUIRED)

file(GENERATE OUTPUT test.cmake CONTENT $<TARGET_PDB_FILE:Qt4::QtGui>)
message(STATUS "done")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmTaget-ComputeLinkClosure-check-for-null-implementa.patch
Type: text/x-patch
Size: 868 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150802/c87380b2/attachment.bin>


More information about the cmake-developers mailing list