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

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [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.