src/core/ngx_log.c:136: error: Buffer Overrun L2
  Offset: [min(2001, `ngx_cached_err_log_time.len`), 4049-min(2001, `ngx_cached_err_log_time.len`)] Size: 2048 by call to `ngx_strerror_r`.

src/core/ngx_log.c:67:1: Array declaration
65. #if (NGX_HAVE_VARIADIC_MACROS)
66. 
67. void
    ^
68. ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
69.     const char *fmt, ...)

src/core/ngx_log.c:88:5: Assignment
86.     }
87. 
88.     last = errstr + NGX_MAX_ERROR_STR;
        ^
89. 
90.     ngx_memcpy(errstr, ngx_cached_err_log_time.data,

src/core/ngx_log.c:133:13: Call
131.                                            ? " (%d: " : " (%Xd: ", err);
132. #else
133.         p = ngx_snprintf(p, last - p, " (%d: ", err);
                 ^
134. #endif
135. 

src/core/ngx_string.c:109:1: Parameter `max`
  107. 
  108. 
  109. u_char * ngx_cdecl
       ^
  110. ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...)
  111. {

src/core/ngx_string.c:116:9: Call
  114. 
  115.     va_start(args, fmt);
  116.     p = ngx_vsnprintf(buf, max, fmt, args);
               ^
  117.     va_end(args);
  118. 

src/core/ngx_string.c:123:1: Parameter `*buf`
    121. 
    122. 
    123. u_char *
         ^
    124. ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args)
    125. {

src/core/ngx_string.c:138:9: Assignment
    136. 
    137.     if (max == 0) {
    138.         return buf;
                 ^
    139.     }
    140. 

src/core/ngx_string.c:116:5: Assignment
  114. 
  115.     va_start(args, fmt);
  116.     p = ngx_vsnprintf(buf, max, fmt, args);
           ^
  117.     va_end(args);
  118. 

src/core/ngx_string.c:119:5: Assignment
  117.     va_end(args);
  118. 
  119.     return p;
           ^
  120. }
  121. 

src/core/ngx_log.c:133:9: Assignment
131.                                            ? " (%d: " : " (%Xd: ", err);
132. #else
133.         p = ngx_snprintf(p, last - p, " (%d: ", err);
             ^
134. #endif
135. 

src/core/ngx_log.c:136:13: Call
134. #endif
135. 
136.         p = ngx_strerror_r(err, p, last - p);
                 ^
137. 
138.         if (p < last) {

src/os/unix/ngx_errno.c:13:1: <Length trace>
11. #if (NGX_HAVE_STRERROR_R)
12. 
13. u_char *
    ^
14. ngx_strerror_r(int err, u_char *errstr, size_t size)
15. {

src/os/unix/ngx_errno.c:13:1: Parameter `*errstr`
  11. #if (NGX_HAVE_STRERROR_R)
  12. 
  13. u_char *
      ^
  14. ngx_strerror_r(int err, u_char *errstr, size_t size)
  15. {

src/os/unix/ngx_errno.c:20:5: Array access: Offset: [min(2001, ngx_cached_err_log_time.len), 4049-min(2001, ngx_cached_err_log_time.len)] Size: 2048 by call to `ngx_strerror_r` 
  18.     }
  19. 
  20.     errstr[0] = '\0';
          ^
  21. 
  22.     strerror_r(err, (char *) errstr, size);
