« Previous | Next » 

Revision 911dfc49

ID911dfc49c432bdc486876b7dd3d3067db3edb961
Parent 965a542a
Child dffa96d6

Added by Michael Hanselmann over 10 years ago

ssconf: Verify file size when reading, add some tests

Until now ssconf would limit the amount read from files to 128 KiB and
silently ignored files larger than that. With this patch a check is
added by using fstat(2) on the file descriptor while it's being read.

There were no tests file ssconf at all, so some are added.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences