Re: [bug, bisected, -chrisl] Segfault at evaluate.c:341

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 19, 2009 at 07:38:51PM +0100, Hannes Eder wrote:

> http://hanneseder.net/sparse/kernel-cred-c.prep.tar.gz
> 
> $ sparse kernel-cred-c.prep.gcc
> 
> produces some warnings as usual.
> 
> $ sparse kernel-cred-c.prep.sparse
> 
> produces some warnings, a boatload of errors, and then segfaults.

Oh, joy.

a) some <expletives> has #define if(x) ....... (check it out, I'm not kidding)
b) ifdef that turd's conditional upon is present in your .config
c) ... and now,
	if (
#ifdef .....
		barf &&
#endif
		vomit)

steps into undefined behaviour.
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux