Message266282
> I'm pretty sure this is undefined behavior.
Are you talking about the exact C implementation, or the risk of unaligned memory accesses?
I suggest to add an assertion to ensure that the pointer is aligned to 16-bits. |
|
Date |
User |
Action |
Args |
2016-05-24 21:37:39 | vstinner | set | recipients:
+ vstinner, mark.dickinson, serhiy.storchaka, Demur Rumed, Adrian Wielgosik |
2016-05-24 21:37:38 | vstinner | set | messageid: <1464125858.99.0.000574000770729.issue27097@psf.upfronthosting.co.za> |
2016-05-24 21:37:38 | vstinner | link | issue27097 messages |
2016-05-24 21:37:38 | vstinner | create | |
|