https://bugs.documentfoundation.org/show_bug.cgi?id=170626

            Bug ID: 170626
           Summary: .git/hooks/pre-commit may accept files > 500k
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

to reproduce, in a linux shell on a core clone:

truncate -s 499k 499
truncate -s 501k 501
git add 499 500
git commit


Actual: 
 ok

Expected :
 Error: Attempt to add a large file: 501, pleasy try to fit into 500 KB.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to