|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1595348 ] Stack overwrite under 64-bit Windows
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 12 Nov 2006 17:33:23 -0800
Bugs item #1595348, was opened at 2006-11-12 17:33
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
If compiled for Windows x64 (and possibly other 64-bit
This applies to libcurl 7.16.0 (and probably earlier
CAUSE
This is caused by this line: http_chunks.c(111):
size_t *wrote = (size_t *)wrotep;
The wrotep argument is of type (ssize_t *). This cast
In config-win32.h 'ssize_t' defaults to 'int'. This
RESOLUTION
In config_win32.h, change the lines:
/* Define to 'int' if ssize_t is not an available
...to:
/* Define to 'long' or '__int64' if ssize_t is not an
Best wishes,
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info