cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problems with libCURL 7.18-0

From: Lars Nilsson <chamaeleon_at_gmail.com>
Date: Wed, 9 Apr 2008 10:33:26 -0400

On Wed, Apr 9, 2008 at 10:11 AM, Vlad - Andrei Lazar <clusty1_at_gmail.com> wrote:
> Hey,
>
> I am having some trouble with curl under visual studio 2005. I compiled the
> curl with debug multithread debug options and same for my own dll program
> and any possible other lib.
>
> At random times I am getting a runtime assertion fail:
>
> (unsigned) (c+1)<=256
> inside isctype.c
>
> any clues what might cause such a thing?

A character between 128 and 255 is being passed somewhere, and with
char by default being signed, the cast to unsigned int will yield a
4,000,000+ numeric value, something that is somewhat larger than 256?

Lars Nilsson
Received on 2008-04-09