]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix PowerPC segfault.
authorcy <cy@FreeBSD.org>
Thu, 23 Apr 2020 14:08:40 +0000 (14:08 +0000)
committercy <cy@FreeBSD.org>
Thu, 23 Apr 2020 14:08:40 +0000 (14:08 +0000)
commit03ffd71cfd3b14adb180d268bad0459862c3b5dc
tree7ff76c57d672ebdda43c2dc1ab676ec6c57b6424
parent9c7ac335493f08c516adabc61aa37ba740eed866
Fix PowerPC segfault.

The segfault fix was originally developed by our upstream, sqlite.org,
to address S/390 and Sparc segfaults, both of which are big endian.
Our PowerPC is also big endian, which this patch also fixes.

Reported by: Mark Millard <marklmi at yahoo.com>
Tested by: Mark Millard <marklmi at yahoo.com>
Obtained from: https://www.sqlite.org/src/vinfo/04885763c4cd00cb?diff=1
https://sqlite.org/forum/forumpost/672291a5b2
MFC after: 1 month
X-MFC with: r360221, 360221
contrib/sqlite3/sqlite3.c