[pcre-dev] [Bug 2208] New: pcregrep --count overflow

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2208] New: pcregrep --count overflow
https://bugs.exim.org/show_bug.cgi?id=2208

            Bug ID: 2208
           Summary: pcregrep --count overflow
           Product: PCRE
           Version: 8.35
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: msklvsk@???
                CC: pcre-dev@???


pcregrep line counter appears to be 32-bit and overflows when an actual count
is larger.

In other words,

`pcregrep -c pattern file`
87903761
`pcregrep pattern file | wc -l`
4382871057

--
You are receiving this mail because:
You are on the CC list for the bug.