#vulnerable code 
                             @Override
	public String getVideoTranscodeStatus(HttpServletRequest request) {
		if (ConfigureReader.instance().isEnableFFMPEG()) {
			String fId = request.getParameter("fileId");
			if (fId != null) {
				try {
					return vtu.getTranscodeProcess(fId);
				} catch (Exception e) {
					Printer.instance.print("错误：视频转码功能出现意外错误。详细信息：" + e.getMessage());
					lu.writeException(e);
				}
			}
		}
		return "ERROR";
	} 
                            #location 3 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                             @Override
	public String getVideoTranscodeStatus(HttpServletRequest request) {
		if (kfl.getFFMPEGExecutablePath() != null) {
			String fId = request.getParameter("fileId");
			if (fId != null) {
				try {
					return vtu.getTranscodeProcess(fId);
				} catch (Exception e) {
					Printer.instance.print("错误：视频转码功能出现意外错误。详细信息：" + e.getMessage());
					lu.writeException(e);
				}
			}
		}
		return "ERROR";
	}