On Thu, 15 Jul 2004, D. Richard Hipp wrote:

>Bleuzet, Frederic wrote:
>>
>> Basically, the line above is inside the function XXX:
>>      for(i=0; i<pSrc->nSrc-1; i++){
>>
>> pSrc->nSrc is of type u16 and the core dump occurs when pSrc->nSrc is equal to 0.
>
>I have changed nSrc to be a signed quantity in both 2.8.14 and 3.0.2.

That should be post 2.8.14?

>From sqlite-2.8.14.tar.gz:
[EMAIL PROTECTED] sqlite]$ cat VERSION
2.8.14
[EMAIL PROTECTED] sqlite]$ grep nSrc src/sqliteInt.h
  u16 nSrc;        /* Number of tables or subqueries in the FROM clause */
[EMAIL PROTECTED] sqlite]$

CVS version is indeed signed. 2.8.x Verified working on AIX 5.2 with
cc[_r].

Christian


-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \

Reply via email to