~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to lib/memdebug.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-12 15:04:52 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212150452-2ymlra67b2p7kjyy
Tags: 7.15.1-1ubuntu1
Resynchronise with Debian to get URL parser overflow fix from 7.15.1
(CVE-2005-4077).

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20
20
 * KIND, either express or implied.
21
21
 *
22
 
 * $Id: memdebug.c,v 1.47 2005/03/31 07:02:03 bagder Exp $
 
22
 * $Id: memdebug.c,v 1.48 2005/06/30 13:30:23 bagder Exp $
23
23
 ***************************************************************************/
24
24
 
25
25
#include "setup.h"
201
201
 
202
202
  mem=(struct memdebug *)(Curl_crealloc)(mem, size);
203
203
  if(logfile)
204
 
    fprintf(logfile, "MEM %s:%d realloc(0x%x, %zd) = %p\n",
 
204
    fprintf(logfile, "MEM %s:%d realloc(%p, %zd) = %p\n",
205
205
            source, line, ptr, wantedsize, mem?mem->mem:NULL);
206
206
 
207
207
  if(mem) {