> > > > I have a patch for this (and other potential issues) for libpwdb, it > > is to use ferror() after fgets(). I'm afraid there's no portable > I would like to know where to obtain this patch for libpwdb. Excuse me if the The patch wasn't public, but since you asked: ftp://ftp.openwall.com/pvt/pwdb-0.61-owl-fixes.tar.gz This has four kinds of reliability/security fixes in separate diffs. Signed, Solar Designer