{"push_id":2706257290,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"a6417f7e5f259c010937b4f53490f2c552acca89","before":"2b22d207452dfdfec7f0e152564ba308d600df8a","commits":[{"sha":"a6417f7e5f259c010937b4f53490f2c552acca89","author":{"name":"Guy Harris","email":"b5cd271b521acc9a180d5ff625e8f9a71c235729@alum.mit.edu"},"message":"Check the time stamp resolution up front before calculating with it.\n\nISO C says that if a left shift is done that's the full bit width of the\noperand being shifted, the behavior is undefined.  In practice, it\nprobably just does a single shift instruction, which does whatever it\ndoes with such a shift on the processor on which you're running; that is\nlikely either to be \"all the bits are cleared\" or \"no shift is done\",\nbut we can't rely on \"all the bits are cleared\".\n\nSo, instead, check the time stamp resolution exponent before using it,\nand reject it if it'll result in a resolution that doesn't fit into a\n32-bit quantity.\n\nUse uint8_t for an 8-bit unsigned integral quantity while we're at it.","distinct":true,"url":"https://api.github.com/repos/the-tcpdump-group/libpcap/commits/a6417f7e5f259c010937b4f53490f2c552acca89"}]}
{"actor":{"display_login":"guyharris"}}