Hi,
We are currently using SQLite 3.8.2.
When using this on AIX, we encountered an issue with an unsigned char
in the sqliteProcessJoin procedure in sqlite3.c.
The issue occurred with the following line (99798) :-
for(i=0; ipSrc-nSrc-1; i++, pRight++, pLeft++){
For cases where pSrc-nSrc was 0, then pSrc-nSrc-1 was being
treated as positive (since nSrc is defined as an unsigned char, u8), and
the for loop was inadvertently being entered. To overcome this, we have
resorted to casting the relevant code as follows :-
for(i=0; i((int)pSrc-nSrc)-1; i++, pRight++, pLeft++){
Apologies if this has already been reported. I did check through the
current tickets searching for AIX, and didn't find anything so I'm
assuming that it hasn't already been reported.
Regards,
Peter Simpson (Hopewiser)
_
Hopewiser Ltd, Merlin Court, Atlantic Street, Altrincham, WA14 5NL
Reg in England, number 1621544
Tel: 0161 924 2800, Fax: 0161 924 2809, Web: http://www.hopewiser.com/
The information contained in this email is intended only for the named
recipient(s) and may be confidential and/or privileged. Unauthorised
use or reproduction (including storage or re-distribution in any media)
is prohibited.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users