PATCH: afm loader

Joerg Mayer jmayer at loplof.de
Sat Feb 3 12:45:42 CST 2001


Moin Marcus,

you codeed some thing like this in a few places:

> +		char afmfn[256];
> +		strcpy(afmfn,afmdir);

directories and filenames may be longer than 256 charaters. If you use
such a value you should at least use strncpy or use FILENAME_MAX from
stdio.h (if that's the right one).


 Ciao
      Jörg

-- 
Joerg Mayer                                          <jmayer at loplof.de>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.



More information about the wine-devel mailing list