
On Wed, Nov 20, 2024 at 18:48:45 +0300, Nikolai Barybin via Devel wrote:
Signed-off-by: Nikolai Barybin <nikolai.barybin@virtuozzo.com> --- src/security/virt-aa-helper.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c index 067a17f331..a2914f22b9 100644 --- a/src/security/virt-aa-helper.c +++ b/src/security/virt-aa-helper.c @@ -877,6 +877,10 @@ storage_source_add_files(virStorageSource *src, if (add_file_path(tmp, depth, buf) < 0) return -1;
+ if (src->dataFileStore && + add_file_path(src->dataFileStore, buf, 0) < 0)
This failed to compile, as add_file_path has a different prototype as seen above. Also you use 'src->dataFileStore' which is always the top node rather than 'tmp' which is used for iteration.
+ return -1; + depth++; }
-- 2.43.5