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

src/http/ngx_http_core_module.c:1141:1: start of procedure ngx_http_core_try_files_phase()
1139. 
1140. 
1141. ngx_int_t
      ^
1142. ngx_http_core_try_files_phase(ngx_http_request_t *r,
1143.     ngx_http_phase_handler_t *ph)

src/http/ngx_http_core_module.c:1159:5: 
1157.                    "try files phase: %ui", r->phase_handler);
1158. 
1159.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
          ^
1160. 
1161.     if (clcf->try_files == NULL) {

src/http/ngx_http_core_module.c:1161:9: Taking false branch
1159.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
1160. 
1161.     if (clcf->try_files == NULL) {
              ^
1162.         r->phase_handler++;
1163.         return NGX_AGAIN;

src/http/ngx_http_core_module.c:1166:5: 
1164.     }
1165. 
1166.     allocated = 0;
          ^
1167.     root = 0;
1168.     name = NULL;

src/http/ngx_http_core_module.c:1167:5: 
1165. 
1166.     allocated = 0;
1167.     root = 0;
          ^
1168.     name = NULL;
1169.     /* suppress MSVC warning */

src/http/ngx_http_core_module.c:1168:5: 
1166.     allocated = 0;
1167.     root = 0;
1168.     name = NULL;
          ^
1169.     /* suppress MSVC warning */
1170.     path.data = NULL;

src/http/ngx_http_core_module.c:1170:5: 
1168.     name = NULL;
1169.     /* suppress MSVC warning */
1170.     path.data = NULL;
          ^
1171. 
1172.     tf = clcf->try_files;

src/http/ngx_http_core_module.c:1172:5: 
1170.     path.data = NULL;
1171. 
1172.     tf = clcf->try_files;
          ^
1173. 
1174.     alias = clcf->alias;

src/http/ngx_http_core_module.c:1174:5: 
1172.     tf = clcf->try_files;
1173. 
1174.     alias = clcf->alias;
          ^
1175. 
1176.     for ( ;; ) {

src/http/ngx_http_core_module.c:1330:5: Loop condition is true. Entering loop body
1328.         r->phase_handler++;
1329.         return NGX_AGAIN;
1330.     }
          ^
1331. 
1332.     /* not reached */

src/http/ngx_http_core_module.c:1178:13: Taking false branch
1176.     for ( ;; ) {
1177. 
1178.         if (tf->lengths) {
                  ^
1179.             ngx_memzero(&e, sizeof(ngx_http_script_engine_t));
1180. 

src/http/ngx_http_core_module.c:1193:13: 
1191. 
1192.         } else {
1193.             len = tf->name.len;
                  ^
1194.         }
1195. 

src/http/ngx_http_core_module.c:1197:19: Condition is false
1195. 
1196.         /* 16 bytes are preallocation */
1197.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
                        ^
1198. 
1199.         if (reserve > allocated) {

src/http/ngx_http_core_module.c:1197:9: 
1195. 
1196.         /* 16 bytes are preallocation */
1197.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
              ^
1198. 
1199.         if (reserve > allocated) {

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

src/http/ngx_http_core_module.c:1212:13: Taking true branch
1210.          }
1211. 
1212.         if (tf->values == NULL) {
                  ^
1213. 
1214.             /* tf->name.len includes the terminating '\0' */

src/http/ngx_http_core_module.c:1216:13: 
1214.             /* tf->name.len includes the terminating '\0' */
1215. 
1216.             ngx_memcpy(name, tf->name.data, tf->name.len);
                  ^
1217. 
1218.             path.len = (name + tf->name.len - 1) - path.data;
