Fixed error message buffer overflow.

pull/13171/head
Joshua Haberman 4 years ago
parent eb0fdda14b
commit ec9ba3f893
  1. 3
      upb/def.c

@ -1399,7 +1399,8 @@ static const void *symtab_resolve(symtab_addctx *ctx, const upb_fielddef *f,
}
notfound:
symtab_errf(ctx, "couldn't resolve name '%s'", sym.data);
symtab_errf(ctx, "couldn't resolve name '" UPB_STRVIEW_FORMAT "'",
UPB_STRVIEW_ARGS(sym));
}
static void create_oneofdef(

Loading…
Cancel
Save