daemon: update: check len inside public function
daemon: update: check len inside public function

Signed-off-by: Antonio Murdaca <f9809039ea4850e75dcb8d80b778844aa463358f@redhat.com>

thaJeztah/distribution,thaJeztah/distribution