[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ian McWilliam <firstname.lastname@example.org> wrote:
> That filename should really be filename[MAXPATHLEN] and the
> appropriate include added if necessary.
Not from a security point of view.
> Where it gets this filename from should be checked throughly as
> it could potentially be passed a filename that is MAXPATHLEN from
Look at the next 20 or so lines of code after the variable definition.
It's pretty safe.
However, the assumption throughout loadsave.c that sizeof(long)==4
is thoroughly broken.
Christian "naddy" Weisgerber email@example.com