~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/extras/FreeType/contrib/ttf2pk/newobj.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   newobj.h
 
3
 *
 
4
 *   This file is part of the ttf2pk package.
 
5
 *
 
6
 *   Copyright 1997-1999 by
 
7
 *     Frederic Loyer <loyer@ensta.fr>
 
8
 *     Werner Lemberg <wl@gnu.org>
 
9
 */
 
10
 
 
11
#ifndef NEWOBJ_H
 
12
#define NEWOBJ_H
 
13
 
 
14
#include <stdio.h>
 
15
#include "ttf2tfm.h"
 
16
 
 
17
 
 
18
#if (defined(MSDOS) && defined(__TURBOC__)) || \
 
19
    (defined(OS2) && defined(_MSC_VER))
 
20
#define SMALLMALLOC
 
21
#endif
 
22
 
 
23
 
 
24
void *mymalloc(size_t len);
 
25
void *mycalloc(size_t len);
 
26
void *myrealloc(void *oldp, size_t len);
 
27
 
 
28
char *get_line(FILE *f);
 
29
Boolean getline(char **bufferp, FILE *f);
 
30
char *newstring(char *s);
 
31
 
 
32
ttfinfo *newchar(Font *fnt);
 
33
kern *newkern(void);
 
34
pcc *newpcc(void);
 
35
lig *newlig(void);
 
36
stringlist *newstringlist(void);
 
37
 
 
38
void init_font_structure(Font *fnt);
 
39
 
 
40
#endif /* NEWOBJ_H */
 
41
 
 
42
 
 
43
/* end */