~ubuntu-branches/ubuntu/utopic/expat/utopic

« back to all changes in this revision

Viewing changes to tests/runtests.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-20 22:37:22 UTC
  • mfrom: (1.1.4) (5.1.7 precise)
  • Revision ID: package-import@ubuntu.com-20120320223722-wq8sq4gykhlvc8j9
Tags: 2.1.0~beta3-1
* QA upload.
* Beta release 2.1.0 beta3. Closes: #663579.
  - CVE-2012-1147 - Resource leak in readfilemap.c.
  - CVE-2012-1148 - Memory leak in poolGrow.
  - CVE-2012-0876 - Hash DOS attack.
  - Remove patches applied upstream.
* Remove Daniel from uploaders (orphaned package).
* Update package format to 3.0.
* Enable hardened build. Closes: #653526.
* Add a symbols file.
* Install expat pkgconfig file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include <stdlib.h>
13
13
#include <stdio.h>
14
14
#include <string.h>
 
15
#include <stdint.h>
15
16
 
16
17
#include "expat.h"
17
18
#include "chardata.h"
1254
1255
                        const XML_Char *systemId,
1255
1256
                        const XML_Char *publicId) 
1256
1257
{
1257
 
    long callno = 1 + (long)XML_GetUserData(parser);
 
1258
    intptr_t callno = 1 + (intptr_t)XML_GetUserData(parser);
1258
1259
    char *text;
1259
1260
    XML_Parser p2;
1260
1261