#fixed code
                             public void completeResponse() {
		U.must(responseCode >= 100);
		long wrote = output().size() - bodyPos;
		U.must(wrote <= Integer.MAX_VALUE, "Response too big!");

		int pos = startingPos + getResp(responseCode).contentLengthPos + 10;
		output().putNumAsText(pos, wrote, false);
	}
#vulnerable code 
                             public void completeResponse() {
		long wrote = output().size() - bodyPos;
		U.must(wrote <= Integer.MAX_VALUE, "Response too big!");

		int pos = startingPos + getResp(responseCode).contentLengthPos + 10;
		output().putNumAsText(pos, wrote, false);
	} 
                            #location 5 
                            #vulnerability type THREAD_SAFETY_VIOLATION