src/core/ngx_conf_file.c:1220: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned64 by call to `ngx_parse_offset`.

src/core/ngx_conf_file.c:1220:11: Call
1218.     value = cf->args->elts;
1219. 
1220.     *op = ngx_parse_offset(&value[1]);
                ^
1221.     if (*op == (off_t) NGX_ERROR) {
1222.         return "invalid value";

src/core/ngx_parse.c:50:1: <LHS trace>
48. 
49. 
50. off_t
    ^
51. ngx_parse_offset(ngx_str_t *line)
52. {

src/core/ngx_parse.c:50:1: Parameter `line->len`
  48. 
  49. 
  50. off_t
      ^
  51. ngx_parse_offset(ngx_str_t *line)
  52. {

src/core/ngx_parse.c:58:5: Assignment
  56.     ngx_int_t  scale;
  57. 
  58.     len = line->len;
          ^
  59.     unit = line->data[len - 1];
  60. 

src/core/ngx_parse.c:59:12: Binary operation: ([0, +oo] - 1):unsigned64 by call to `ngx_parse_offset` 
  57. 
  58.     len = line->len;
  59.     unit = line->data[len - 1];
                 ^
  60. 
  61.     switch (unit) {

off_t
ngx_parse_offset(ngx_str_t *line)
{
    u_char     unit;
    off_t      offset;
    size_t     len;
    ngx_int_t  scale;
    len = line->len;
    unit = line->data[len - 1];
    switch (unit) {
    case 'K':
    case 'k':
        len--;
        scale = 1024;
        break;
    case 'M':
    case 'm':
        len--;
        scale = 1024 * 1024;
        break;
    case 'G':
    case 'g':
        len--;
        scale = 1024 * 1024 * 1024;
        break;
    default:
        scale = 1;
    }
    offset = ngx_atoof(line->data, len);
    if (offset == NGX_ERROR) {
        return NGX_ERROR;
    }
    offset *= scale;
    return offset;
}
['char *\nngx_conf_set_off_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)\n{\n    char  *p = conf;\n    off_t            *op;\n    ngx_str_t        *value;\n    ngx_conf_post_t  *post;\n    op = (off_t *) (p + cmd->offset);\n    if (*op != NGX_CONF_UNSET) {\n        return "is duplicate";\n    }\n    value = cf->args->elts;\n    *op = ngx_parse_offset(&value[1]);\n    if (*op == (off_t) NGX_ERROR) {\n        return "invalid value";\n    }\n    if (cmd->post) {\n        post = cmd->post;\n        return post->post_handler(cf, post, op);\n    }\n    return NGX_CONF_OK;\n}', "off_t\nngx_parse_offset(ngx_str_t *line)\n{\n    u_char     unit;\n    off_t      offset;\n    size_t     len;\n    ngx_int_t  scale;\n    len = line->len;\n    unit = line->data[len - 1];\n    switch (unit) {\n    case 'K':\n    case 'k':\n        len--;\n        scale = 1024;\n        break;\n    case 'M':\n    case 'm':\n        len--;\n        scale = 1024 * 1024;\n        break;\n    case 'G':\n    case 'g':\n        len--;\n        scale = 1024 * 1024 * 1024;\n        break;\n    default:\n        scale = 1;\n    }\n    offset = ngx_atoof(line->data, len);\n    if (offset == NGX_ERROR) {\n        return NGX_ERROR;\n    }\n    offset *= scale;\n    return offset;\n}"]