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

src/http/ngx_http_core_module.c:1160:1: start of procedure ngx_http_core_try_files_phase()
1158. 
1159. 
1160. ngx_int_t
      ^
1161. ngx_http_core_try_files_phase(ngx_http_request_t *r,
1162.     ngx_http_phase_handler_t *ph)

src/http/ngx_http_core_module.c:1178:5: 
1176.                    "try files phase: %ui", r->phase_handler);
1177. 
1178.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
          ^
1179. 
1180.     if (clcf->try_files == NULL) {

src/http/ngx_http_core_module.c:1180:9: Taking false branch
1178.     clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
1179. 
1180.     if (clcf->try_files == NULL) {
              ^
1181.         r->phase_handler++;
1182.         return NGX_AGAIN;

src/http/ngx_http_core_module.c:1185:5: 
1183.     }
1184. 
1185.     allocated = 0;
          ^
1186.     root = 0;
1187.     name = NULL;

src/http/ngx_http_core_module.c:1186:5: 
1184. 
1185.     allocated = 0;
1186.     root = 0;
          ^
1187.     name = NULL;
1188.     /* suppress MSVC warning */

src/http/ngx_http_core_module.c:1187:5: 
1185.     allocated = 0;
1186.     root = 0;
1187.     name = NULL;
          ^
1188.     /* suppress MSVC warning */
1189.     path.data = NULL;

src/http/ngx_http_core_module.c:1189:5: 
1187.     name = NULL;
1188.     /* suppress MSVC warning */
1189.     path.data = NULL;
          ^
1190. 
1191.     tf = clcf->try_files;

src/http/ngx_http_core_module.c:1191:5: 
1189.     path.data = NULL;
1190. 
1191.     tf = clcf->try_files;
          ^
1192. 
1193.     alias = clcf->alias;

src/http/ngx_http_core_module.c:1193:5: 
1191.     tf = clcf->try_files;
1192. 
1193.     alias = clcf->alias;
          ^
1194. 
1195.     for ( ;; ) {

src/http/ngx_http_core_module.c:1349:5: Loop condition is true. Entering loop body
1347.         r->phase_handler++;
1348.         return NGX_AGAIN;
1349.     }
          ^
1350. 
1351.     /* not reached */

src/http/ngx_http_core_module.c:1197:13: Taking false branch
1195.     for ( ;; ) {
1196. 
1197.         if (tf->lengths) {
                  ^
1198.             ngx_memzero(&e, sizeof(ngx_http_script_engine_t));
1199. 

src/http/ngx_http_core_module.c:1212:13: 
1210. 
1211.         } else {
1212.             len = tf->name.len;
                  ^
1213.         }
1214. 

src/http/ngx_http_core_module.c:1216:19: Condition is true
1214. 
1215.         /* 16 bytes are preallocation */
1216.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
                        ^
1217. 
1218.         if (reserve > allocated) {

src/http/ngx_http_core_module.c:1216:9: 
1214. 
1215.         /* 16 bytes are preallocation */
1216.         reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16;
              ^
1217. 
1218.         if (reserve > allocated) {

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

src/http/ngx_http_core_module.c:1231:13: Taking true branch
1229.          }
1230. 
1231.         if (tf->values == NULL) {
                  ^
1232. 
1233.             /* tf->name.len includes the terminating '\0' */

src/http/ngx_http_core_module.c:1235:13: 
1233.             /* tf->name.len includes the terminating '\0' */
1234. 
1235.             ngx_memcpy(name, tf->name.data, tf->name.len);
                  ^
1236. 
1237.             path.len = (name + tf->name.len - 1) - path.data;
