packagefs: Volume::_ChangeActivation(): Check 0 request size
This commit is contained in:
parent
bb88feaa3a
commit
2508cd615f
@ -1362,6 +1362,9 @@ Volume::_LoadPackage(const char* name, Package*& _package)
|
||||
status_t
|
||||
Volume::_ChangeActivation(ActivationChangeRequest& request)
|
||||
{
|
||||
if (request.CountItems() == 0)
|
||||
return B_OK;
|
||||
|
||||
// first check the request
|
||||
int32 newPackageCount = 0;
|
||||
int32 oldPackageCount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user