src/http/ngx_http_core_module.c:1259: error: Null Dereference
  pointer `name` last assigned on line 1211 could be null and is dereferenced by call to `memcpy()` at line 1259, column 13.

src/http/ngx_http_core_module.c:1184:1: start of procedure ngx_http_core_try_files_phase()
1182. 
1183. 
1184. ngx_int_t
      ^
1185. ngx_http_core_try_files_phase(ngx_http_request_t *r,
1186.     ngx_http_phase_handler_t *ph)

src/http/ngx_http_core_module.c:1202:5: 
1200.                    "try files phase: %ui", r->phase_handler);
1201. 
1202.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
          ^
1203. 
1204.     if (clcf->try_files == NULL) {

src/http/ngx_http_core_module.c:1204:9: Taking false branch
1202.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
1203. 
1204.     if (clcf->try_files == NULL) {
              ^
1205.         r->phase_handler++;
1206.         return NGX_AGAIN;

src/http/ngx_http_core_module.c:1209:5: 
1207.     }
1208. 
1209.     allocated = 0;
          ^
1210.     root = 0;
1211.     name = NULL;

src/http/ngx_http_core_module.c:1210:5: 
1208. 
1209.     allocated = 0;
1210.     root = 0;
          ^
1211.     name = NULL;
1212.     /* suppress MSVC warning */

src/http/ngx_http_core_module.c:1211:5: 
1209.     allocated = 0;
1210.     root = 0;
1211.     name = NULL;
          ^
1212.     /* suppress MSVC warning */
1213.     path.data = NULL;

src/http/ngx_http_core_module.c:1213:5: 
1211.     name = NULL;
1212.     /* suppress MSVC warning */
1213.     path.data = NULL;
          ^
1214. 
1215.     tf = clcf->try_files;

src/http/ngx_http_core_module.c:1215:5: 
1213.     path.data = NULL;
1214. 
1215.     tf = clcf->try_files;
          ^
1216. 
1217.     alias = clcf->alias;

src/http/ngx_http_core_module.c:1217:5: 
1215.     tf = clcf->try_files;
1216. 
1217.     alias = clcf->alias;
          ^
1218. 
1219.     for ( ;; ) {

src/http/ngx_http_core_module.c:1377:5: Loop condition is true. Entering loop body
1375.         r->phase_handler++;
1376.         return NGX_AGAIN;
1377.     }
          ^
1378. 
1379.     /* not reached */

src/http/ngx_http_core_module.c:1221:13: Taking false branch
1219.     for ( ;; ) {
1220. 
1221.         if (tf->lengths) {
                  ^
1222.             ngx_memzero(&e, sizeof(ngx_http_script_engine_t));
1223. 

src/http/ngx_http_core_module.c:1236:13: 
1234. 
1235.         } else {
1236.             len = tf->name.len;
                  ^
1237.         }
1238. 

src/http/ngx_http_core_module.c:1240:19: Condition is true
1238. 
1239.         /* 16 bytes are preallocation */
1240.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
                        ^
1241. 
1242.         if (reserve > allocated) {

src/http/ngx_http_core_module.c:1240:9: 
1238. 
1239.         /* 16 bytes are preallocation */
1240.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
              ^
1241. 
1242.         if (reserve > allocated) {

src/http/ngx_http_core_module.c:1242:13: Taking false branch
1240.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
1241. 
1242.         if (reserve > allocated) {
                  ^
1243. 
1244.             /* we just need to allocate path and to copy a root */

src/http/ngx_http_core_module.c:1255:13: Taking true branch
1253.          }
1254. 
1255.         if (tf->values == NULL) {
                  ^
1256. 
1257.             /* tf->name.len includes the terminating '\0' */

src/http/ngx_http_core_module.c:1259:13: 
1257.             /* tf->name.len includes the terminating '\0' */
1258. 
1259.             ngx_memcpy(name, tf->name.data, tf->name.len);
                  ^
1260. 
1261.             path.len = (name + tf->name.len - 1) - path.data;
