[PATCH 0/1] qemu qapi: SIGSEGV small fix

Nikolai Barybin via Devel posted 1 patch 5 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20250703102434.17975-1-nikolai.barybin@virtuozzo.com
src/qemu/qemu_qapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH 0/1] qemu qapi: SIGSEGV small fix
Posted by Nikolai Barybin via Devel 5 months, 2 weeks ago
Hello everyone!

When implementing some custom qemu capability I cought this bug when
some string with '*' pattern is not contained in schema, and virQEMUQAPISchemaTraverseObject
passes NULL ptr to virJSONValueObjectHasKey.

Nikolai Barybin (1):
  qemu: qapi: fix potential SIGSEGV in virQEMUQAPISchemaTraverseObject()

 src/qemu/qemu_qapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.43.5
Re: [PATCH 0/1] qemu qapi: SIGSEGV small fix
Posted by Nikolai Barybin via Devel 5 months ago
On 7/3/25 12:19, Nikolai Barybin wrote:
> Hello everyone!
>
> When implementing some custom qemu capability I cought this bug when
> some string with '*' pattern is not contained in schema, and virQEMUQAPISchemaTraverseObject
> passes NULL ptr to virJSONValueObjectHasKey.
>
> Nikolai Barybin (1):
>    qemu: qapi: fix potential SIGSEGV in virQEMUQAPISchemaTraverseObject()
>
>   src/qemu/qemu_qapi.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
Ping message.