From 245f23563294da8ee632aa1d7804e48efabbb992 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Thu, 15 May 2014 09:12:53 +0200 Subject: [PATCH] Null fastbuf: Don't forget to set a fastbuf's name. --- ucw/fb-null.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ucw/fb-null.c b/ucw/fb-null.c index 6f0a40a2..8edc5a4d 100644 --- a/ucw/fb-null.c +++ b/ucw/fb-null.c @@ -21,6 +21,7 @@ struct fastbuf *fbnull_open(uns bufsize) { struct fastbuf *b = xmalloc(sizeof(*b) + bufsize); bzero(b, sizeof(*b)); + b->name = ""; b->close = fbnull_close; fbnull_start(b, (byte *)(b + 1), bufsize); return b; -- 2.39.2