On 12 Dec 2017, at 1:32pm, advancenOO <haveagoodtime2...@gmail.com> wrote:

> Um, stray pointer or array overrun in upper applications will be treated as
> BUG in my system. And I believe all these bugs could be fixed before using
> sqlite.
> So can I safely enable SQLITE_MMAP_READWRITE directly if I can ignore the
> possibility of the BUG?

The stray pointer or array overrun is not in the SQLite code.  It’s in the 
implementation of memory mapping built into the OS.  So you need to ask 
yourself whether you trust your OS.

Before you answer that question, you should know that both Windows and macOS 
have been proved to have serious bugs in their memory mapping code.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to