Re: [PATCH 1/2] authz-list-file: Fix file read error handling

2020-11-13 Thread Daniel P . Berrangé
On Fri, Nov 13, 2020 at 07:23:57AM +0100, Markus Armbruster wrote: > The Error ** argument must be NULL, _abort, _fatal, or a > pointer to a variable containing NULL. Passing an argument of the > latter kind twice without clearing it in between is wrong: if the > first call sets an error, it no

[PATCH 1/2] authz-list-file: Fix file read error handling

2020-11-12 Thread Markus Armbruster
The Error ** argument must be NULL, _abort, _fatal, or a pointer to a variable containing NULL. Passing an argument of the latter kind twice without clearing it in between is wrong: if the first call sets an error, it no longer points to NULL for the second call. qauthz_list_file_complete() is