Hello, Sorry for rushing into it but...
On Sat, Sep 27, 2025 at 08:59:03PM +0100, [email protected] wrote: > @@ -519,7 +520,10 @@ store_nbd_open (const char *name, int flags, struct > store **store) > if (!strncmp (name, url_prefix, sizeof url_prefix - 1)) > err = store_set_name (*store, name); > else > - asprintf (&(*store)->name, "%s%s", url_prefix, name); > + { > + err = asprintf (&(*store)->name, "%s%s", url_prefix, name); > + assert_backtrace (err != -1) > + } > if (err) > store_free (*store); > } ...this won't work as err is checked and probably not compatible with the asprintf return value on success (and identation is wrong). I'll send a second version of this patch. Thanks, Diego
