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

src/http/ngx_http_core_module.c:1176:1: start of procedure ngx_http_core_try_files_phase()
1174. 
1175. 
1176. ngx_int_t
      ^
1177. ngx_http_core_try_files_phase(ngx_http_request_t *r,
1178.     ngx_http_phase_handler_t *ph)

src/http/ngx_http_core_module.c:1194:5: 
1192.                    "try files phase: %ui", r->phase_handler);
1193. 
1194.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
          ^
1195. 
1196.     if (clcf->try_files == NULL) {

src/http/ngx_http_core_module.c:1196:9: Taking false branch
1194.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
1195. 
1196.     if (clcf->try_files == NULL) {
              ^
1197.         r->phase_handler++;
1198.         return NGX_AGAIN;

src/http/ngx_http_core_module.c:1201:5: 
1199.     }
1200. 
1201.     allocated = 0;
          ^
1202.     root = 0;
1203.     name = NULL;

src/http/ngx_http_core_module.c:1202:5: 
1200. 
1201.     allocated = 0;
1202.     root = 0;
          ^
1203.     name = NULL;
1204.     /* suppress MSVC warning */

src/http/ngx_http_core_module.c:1203:5: 
1201.     allocated = 0;
1202.     root = 0;
1203.     name = NULL;
          ^
1204.     /* suppress MSVC warning */
1205.     path.data = NULL;

src/http/ngx_http_core_module.c:1205:5: 
1203.     name = NULL;
1204.     /* suppress MSVC warning */
1205.     path.data = NULL;
          ^
1206. 
1207.     tf = clcf->try_files;

src/http/ngx_http_core_module.c:1207:5: 
1205.     path.data = NULL;
1206. 
1207.     tf = clcf->try_files;
          ^
1208. 
1209.     alias = clcf->alias;

src/http/ngx_http_core_module.c:1209:5: 
1207.     tf = clcf->try_files;
1208. 
1209.     alias = clcf->alias;
          ^
1210. 
1211.     for ( ;; ) {

src/http/ngx_http_core_module.c:1371:5: Loop condition is true. Entering loop body
1369.         r->phase_handler++;
1370.         return NGX_AGAIN;
1371.     }
          ^
1372. 
1373.     /* not reached */

src/http/ngx_http_core_module.c:1213:13: Taking false branch
1211.     for ( ;; ) {
1212. 
1213.         if (tf->lengths) {
                  ^
1214.             ngx_memzero(&e, sizeof(ngx_http_script_engine_t));
1215. 

src/http/ngx_http_core_module.c:1228:13: 
1226. 
1227.         } else {
1228.             len = tf->name.len;
                  ^
1229.         }
1230. 

src/http/ngx_http_core_module.c:1232:19: Condition is false
1230. 
1231.         /* 16 bytes are preallocation */
1232.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
                        ^
1233. 
1234.         if (reserve > allocated) {

src/http/ngx_http_core_module.c:1232:9: 
1230. 
1231.         /* 16 bytes are preallocation */
1232.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
              ^
1233. 
1234.         if (reserve > allocated) {

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

src/http/ngx_http_core_module.c:1247:13: Taking true branch
1245.          }
1246. 
1247.         if (tf->values == NULL) {
                  ^
1248. 
1249.             /* tf->name.len includes the terminating '\0' */

src/http/ngx_http_core_module.c:1251:13: 
1249.             /* tf->name.len includes the terminating '\0' */
1250. 
1251.             ngx_memcpy(name, tf->name.data, tf->name.len);
                  ^
1252. 
1253.             path.len = (name + tf->name.len - 1) - path.data;
