Branch: Tag:

2014-01-12

2014-01-12 02:07:06 by Tobias S. Josefowitz <tobij@tobij.de>

mostly harmless overflows, fixed

2261:    num=e; \    } else { \    num = 0; \ -  while(e-->=0) num = (num<<8) + (GETC()+1); \ +  while(e-->=0) num = ((unsigned INT64)num<<8) \ +  + (GETC()+1); \    num += MAX_SMALL - 1; \    } \    if(what & TAG_NEG) { \
2367:    INT32 what, e; \    INT64 num; \    DECODE("decode_number"); \ -  X=(what & TAG_MASK) | ((INT32) num<<4); \ +  X=(what & TAG_MASK) | ((unsigned INT64)num<<4); \    EDB(5, fprintf(stderr, "%*s ==>%ld\n", \    data->depth, "", (long) X)); \    }while(0) \