~ubuntu-branches/ubuntu/hardy/poppler/hardy-updates

« back to all changes in this revision

Viewing changes to goo/gmem.h

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2007-11-14 11:20:07 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071114112007-z78ukla8cxd9mv41
Tags: 0.6.2-1
* New upstream version. (Closes: #447992)
* Dependency on xpdfrc was removed on 2007-02-25 (Closes: #347789, #440936)
* Changes since 0.6.1:
  - Fix CVE-2007-4352, CVE-2007-5392 and CVE-2007-5393 (Closes: #450628)
  - Fix a crash on documents with wrong CCITTFaxStream
  - Fix a crash in the Cairo renderer with invalid embedded fonts
  - Fix a crash with invalid TrueType fonts
  - Check if font is inside the clip area before rendering
    it to a temporary bitmap in the Splash renderer. Fixes crashes on
    incorrect documents
  - Do not use exit(1) on DCTStream errors
  - Detect form fields at any depth level
  - Do not generate appearance stream for radio buttons that are not active

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 * and size.  The result is similar to allocating nObjs * objSize
50
50
 * bytes, but there is an additional error check that the total size
51
51
 * doesn't overflow an int.
 
52
 * The gmallocn_checkoverflow variant returns NULL instead of exiting
 
53
 * the application if a overflow is detected
52
54
 */
53
55
extern void *gmallocn(int nObjs, int objSize) GMEM_EXCEP;
 
56
extern void *gmallocn_checkoverflow(int nObjs, int objSize) GMEM_EXCEP;
54
57
extern void *greallocn(void *p, int nObjs, int objSize) GMEM_EXCEP;
55
58
 
56
59
/*