Program: 162131
Project: 162131
Buggy source:
static public RequestAndResponse streamRequestAndResponse(RequestMethod method,Session session,String target,String params[],long range,String md5,boolean needSign,int socketTimeoutOverrideMs) throws VDiskException {
  String curlHeader="String_Node_Str";
  if (Logger.DEBUG_MODE) {
    if (session.getWeiboAccessToken() != null) {
      String token=Signature.getWeiboHeader(session.getAppKeyPair(),(WeiboAccessToken)session.getWeiboAccessToken());
      token=token.replace("String_Node_Str","String_Node_Str");
      curlHeader="String_Node_Str" + token;
    }
 else     if (session.getAccessToken() != null) {
      curlHeader="String_Node_Str" + session.getAccessToken().mAccessToken;
    }
  }
  HttpUriRequest req=null;
  if (method == RequestMethod.GET) {
    req=new HttpGet(target);
    if (range > 0 && md5 != null) {
      req.setHeader("String_Node_Str","String_Node_Str" + range + "String_Node_Str");
      req.setHeader("String_Node_Str","String_Node_Str" + md5 + "String_Node_Str");
    }
    if (Logger.DEBUG_MODE) {
      Log.i(TAG,"String_Node_Str" + curlHeader + "String_Node_Str"+ target+ "String_Node_Str");
      Logger.writeHeader(session.getContext());
      Logger.writeToFile("String_Node_Str" + curlHeader + "String_Node_Str"+ target+ "String_Node_Str");
    }
  }
 else {
    HttpPost post=new HttpPost(target);
    if (params != null && params.length >= 2) {
      if (params.length % 2 != 0) {
        throw new IllegalArgumentException("String_Node_Str");
      }
      ArrayList<NameValuePair> nvps=new ArrayList<NameValuePair>();
      StringBuilder postParams=new StringBuilder();
      for (int i=0; i < params.length; i+=2) {
        if (params[i + 1] != null) {
          nvps.add(new BasicNameValuePair(params[i],params[i + 1]));
          postParams.append(params[i]).append("String_Node_Str").append(params[i + 1]).append("String_Node_Str");
        }
      }
      if (Logger.DEBUG_MODE) {
        Log.i(TAG,"String_Node_Str" + postParams.toString());
        Log.i(TAG,"String_Node_Str" + curlHeader + "String_Node_Str"+ postParams.toString()+ "String_Node_Str"+ target+ "String_Node_Str");
        Logger.writeHeader(session.getContext());
        Logger.writeToFile("String_Node_Str" + curlHeader + "String_Node_Str"+ postParams.toString()+ "String_Node_Str"+ target+ "String_Node_Str");
      }
      try {
        post.setEntity(new UrlEncodedFormEntity(nvps,HTTP.UTF_8));
      }
 catch (      UnsupportedEncodingException e) {
        throw new VDiskException(e);
      }
    }
    req=post;
  }
  if (needSign) {
    session.sign(req);
  }
  Log.i(TAG,"String_Node_Str" + target);
  HttpResponse resp=null;
  if (socketTimeoutOverrideMs >= 0) {
    resp=execute(session,req,socketTimeoutOverrideMs);
  }
 else {
    resp=execute(session,req);
  }
  return new RequestAndResponse(req,resp);
}

Fixed version (ground truth):
static public RequestAndResponse streamRequestAndResponse(RequestMethod method,Session session,String target,String params[],long range,String md5,boolean needSign,int socketTimeoutOverrideMs) throws VDiskException {
  return streamRequestAndResponse(method,session,target,params,range,md5,needSign,socketTimeoutOverrideMs,false);
}