Fix unportable code in SockAddr_cidr_mask: you can't assume that
Tom Lane <tgl@sss.pgh.pa.us>
Fix unportable code in SockAddr_cidr_mask: you can't assume that shifting left by full word width gives zero. Per bug report from Tyson Thomson.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/ip.c | modified | +22 −19 |