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

« back to all changes in this revision

Viewing changes to unix/xc/extras/FreeType/contrib/ttf2pk/emdir.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
/* emdir.h  -- Written by Eberhard Mattes, donated to the public domain */
 
2
 
 
3
#if defined(DJGPP)
 
4
 
 
5
/* djgpp support by Hartmut Schirmer (hsc@techfak.uni-kiel.de), May 30, 1997 */
 
6
#include <dos.h>
 
7
#define ll_findbuffer find_t
 
8
#define attr attrib
 
9
 
 
10
#else
 
11
 
 
12
struct ll_findbuffer
 
13
{
 
14
  char reserved[21];
 
15
  unsigned char attr;
 
16
  unsigned time;
 
17
  unsigned date;
 
18
  long size;
 
19
  char name[257];
 
20
};
 
21
 
 
22
#endif
 
23
 
 
24
int ll_findfirst (const char *path, int attr, struct ll_findbuffer *buffer);
 
25
int ll_findnext (struct ll_findbuffer *buffer);