daemon: write-file: Check range of size parameter (RHBZ#597135).
authorRichard Jones <rjones@redhat.com>
Tue, 1 Jun 2010 15:18:53 +0000 (16:18 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 2 Jun 2010 12:38:00 +0000 (13:38 +0100)
commit9733d4746988b3a072d8bb1daac4b9795b8f4134
treeb16bb0f35b2a5dfca0f04454bb9f21d4522f47f4
parent52f9cd4882135910ea06e1e50ac6441d455c9ab1
daemon: write-file: Check range of size parameter (RHBZ#597135).

This also adds a regression test.
daemon/file.c
src/generator.ml