When reaching:
fail: free(ctx.salt); free(ctx.out); free(desired_result);
free() argument may be null.
Example: when coming from l.289
ret = decode_string(&ctx, encoded, type);
desired_result is null.
Suggested fix: test for argument non-nullity before calling free().
When reaching:
fail: free(ctx.salt); free(ctx.out); free(desired_result);
free() argument may be null. Example: when coming from l.289ret = decode_string(&ctx, encoded, type);
desired_result is null.Suggested fix: test for argument non-nullity before calling free().