06:09:14 g'morning:) 06:10:12 .oO already found real bug with warning suppression lifted... 11:05:23 [illumos-gate] 15116 find_elf does not find non-executable .so files -- Andy Fiddaman 11:20:28 tsoome - nice :) 11:23:37 error: '&' within '^' 11:23:52 !(ntohl(*(uint32_t *)buff) & 2^31) 11:24:04 another one 11:27:15 oh dear wishful wysiwig C 11:28:21 I'm not really even sure what is the idea there 11:29:12 looks to me that someone thought that 2^31 means two to the power of 31 11:29:33 meaning 1 << 31 11:29:37 yep 11:30:01 using xor does not really make much sense 12:38:15 tsoome: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 :P 12:42:40 That looks handy 13:07:08 yeah 14:33:41 heh:) 14:35:47 anyhow, this is the function and I have no idea why it has this check. https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libnsl/rpc/clnt_vc.c?r=48bbca81&mo=44220&fi=1679#1679 14:48:10 Me neither.. 14:49:58 There is this.. 14:50:23 if I had to guess.. assuming buff is a complete message, and assuming the first 4 bytes are a network byte order length of the message 14:50:32 https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libnsl/rpc/xdr_rec.c?r=61961e0f#71 14:50:53 and assuming it's treating it as a signed value... 14:51:06 (which is a lot of assumptions...) 14:52:50 oh, I see 14:55:52 if (!LAST_FRAG()) ? 14:57:15 yea, that would be helpful for poor human reading this code:D 14:59:30 44:#define MAX_XID (2^16) 14:59:35 at least there aren't too many in the gate 15:01:38 yeah.. that would make the intent clearer