Re: [sqlite] SQLite openning a database

2005-01-14 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Smith wrote: > On Fri, 14 Jan 2005, John Richard Moser wrote: > >>-BEGIN PGP SIGNED MESSAGE- >>Hash: SHA1 >> >> >> >>D. Richard Hipp wrote: >> >> >>>I don't *think* this is a problem. But version 3.1 will contain >>>extra security

Re: [sqlite] SQLite openning a database

2005-01-14 Thread Christian Smith
On Fri, 14 Jan 2005, John Richard Moser wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > > > >D. Richard Hipp wrote: > >> I don't *think* this is a problem. But version 3.1 will contain >> extra security features just to make sure. In particular, it will >> initialize the random number ge

Re: [sqlite] SQLite openning a database

2005-01-13 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 D. Richard Hipp wrote: > Christian Smith wrote: > >>> /tmp/ is rwx by anyone >>> root stats /tmp/tmpdb.root.1072 (pid==1072) >>> Nonexistant >>> User ln -s /etc/fstab /tmp/tmpdb.root.1072 >>> root creates /tmp/tmpdb.root.1072 >>> fstab erased. >>> >

Re: [sqlite] SQLite openning a database

2005-01-13 Thread D. Richard Hipp
Christian Smith wrote: /tmp/ is rwx by anyone root stats /tmp/tmpdb.root.1072 (pid==1072) Nonexistant User ln -s /etc/fstab /tmp/tmpdb.root.1072 root creates /tmp/tmpdb.root.1072 fstab erased. SQLite wouldn't work like that. It would read the file (which is actually /etc/fstab) and determine that

Re: [sqlite] SQLite openning a database

2005-01-13 Thread Christian Smith
On Wed, 12 Jan 2005, John Richard Moser wrote: > >Christian Smith wrote: >> On Tue, 11 Jan 2005, John Richard Moser wrote: >> >>>http://rafb.net/paste/results/jRFmZD25.html >>> >>>While most of this isn't of general interest, I'd like to point out that >>>I create the database by opening it with o

Re: [sqlite] SQLite openning a database

2005-01-12 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Smith wrote: > On Tue, 11 Jan 2005, John Richard Moser wrote: > > >>-BEGIN PGP SIGNED MESSAGE- >>Hash: SHA1 >> >>http://rafb.net/paste/results/jRFmZD25.html >> >>This is code from a package manager I'm writing based on SQLite. Th

Re: [sqlite] SQLite openning a database

2005-01-12 Thread Christian Smith
On Tue, 11 Jan 2005, John Richard Moser wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >http://rafb.net/paste/results/jRFmZD25.html > >This is code from a package manager I'm writing based on SQLite. These >two functions open a database, creating it if it doesn't exist. > >While most of

[sqlite] SQLite openning a database

2005-01-11 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://rafb.net/paste/results/jRFmZD25.html This is code from a package manager I'm writing based on SQLite. These two functions open a database, creating it if it doesn't exist. While most of this isn't of general interest, I'd like to point out that