]> granicus.if.org Git - python/commit
Fix bug
authorMichael W. Hudson <mwh@python.net>
Mon, 5 Dec 2005 00:27:49 +0000 (00:27 +0000)
committerMichael W. Hudson <mwh@python.net>
Mon, 5 Dec 2005 00:27:49 +0000 (00:27 +0000)
commitb78a5fc00446c6bfcbbb578cbe471f211a93ea87
tree1e3eb720ffb884073b2bc0d1c56e04751f657855
parentd54a0aed8e1b67ad1556e4b769fad6def4207f44
Fix bug

1346144 ] Segfaults from unaligned loads in floatobject.c

by using memcpy and not just blinding casting char* to double*.

Thanks to Rune Holm for the report.
Objects/floatobject.c