content: package com.sast.astbenchmark.case_language_maturity.completeness.single_app_tracing.datatype.primitives;
  
  import org.springframework.web.bind.annotation.PostMapping;
  import org.springframework.web.bind.annotation.RequestBody;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RestController;
  
  import java.io.IOException;
  import java.util.HashMap;
  import java.util.Map;
  
  // evaluation information start
  // real case = true
  // evaluation item = 完整度->单应用跟踪完整度->数据类型和结构->基础数据类型
  // scene introduction = char[]
  // level = 2
  // bind_url = completeness/single_app_tracing/datatype/primitives/Base_CharArray_003_T
  // evaluation information end
  
  @RestController()
  @RequestMapping("completeness/single_app_tracing/datatype/primitives")
  public class Base_CharArray_003_T {
      @PostMapping("Base_CharArray_003_T")
      public Map<String, Object> aTaintCase0150(@RequestBody char[] cmd) {
          Map<String, Object> modelMap = new HashMap<>();
          if (cmd == null || cmd.length < 1) {
              modelMap.put("status", "error");
              return modelMap;
          }
          try {
              Runtime.getRuntime().exec(String.valueOf(cmd));
              modelMap.put("status", "success");
          } catch (IOException e) {
              modelMap.put("status", "error");
          }
          modelMap.put("status", "success");
          return modelMap;
      }
  }
  