Replace an arbitrarily-sized g_alloca() with g_malloc() in gimp_brush_save().
and enable duplicating the clipboard brush, like for patterns.