@@ -293,10 +293,13 @@ if (!appendSubformat(ctx, ctx->format + ctx->i, 1)) return false; switch (ctx->format[ctx->i]) { case '@': + if (ctx->lengthModifier != LENGTH_MODIFIER_NONE) + return false; + ctx->subformat[ctx->subformatLen - 1] = 's'; @try { id object; @@ -315,10 +318,13 @@ @throw e; } break; case 'C': + if (ctx->lengthModifier != LENGTH_MODIFIER_NONE) + return false; + ctx->subformat[ctx->subformatLen - 1] = 's'; { char buffer[5]; size_t len = of_string_utf8_encode(