Skip to content
  • Ernestas Kulik's avatar
    gio: converter: Forbid null out arguments · e0976efe
    Ernestas Kulik authored
    Currently, inbuf_size and outbuf_size are not documented as not
    nullable, but they are expected to be so, which might lead to unexpected
    crashes. Moreover, outbuf itself is also expected to not be null, so
    this commit adds the appropriate GI annotations and early returns on
    failed preconditions.
    e0976efe