Re: [Rpm-maint] [rpm-software-management/rpm] Enhanced checks and a fuzz harness (#1559)

2021-03-01 Thread Demi Marie Obenour
> @DemiMarie , I know you're trying to help and thanks for that, but please > stop trying so hard :slightly_smiling_face: > > When I said it's time to cool it and step back a little for a strategic > regroup, it didn't mean that you should go and invent and implement a whole > new strategy over

Re: [Rpm-maint] [rpm-software-management/rpm] Enhanced checks and a fuzz harness (#1559)

2021-03-01 Thread Panu Matilainen
@DemiMarie , I know you're trying to help and thanks for that, but please stop trying so hard :slightly_smiling_face: When I said it's time to cool it and step back a little for a strategic regroup, it didn't mean that you should go and invent and implement a whole new strategy overnight. It m

Re: [Rpm-maint] [rpm-software-management/rpm] Enhanced checks and a fuzz harness (#1559)

2021-02-27 Thread Demi Marie Obenour
@DemiMarie pushed 1 commit. 81355fb7424bd1cd8d6900ebe66aa8132020e745 Require regions to have length at least two -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/1559/files/9e09c3118a1470044845116e73625

Re: [Rpm-maint] [rpm-software-management/rpm] Enhanced checks and a fuzz harness (#1559)

2021-02-27 Thread Demi Marie Obenour
@DemiMarie pushed 1 commit. 9e09c3118a1470044845116e73625e5381542f9c Check regions for internal consistency -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/1559/files/0b6a785286d193fc96f7a8452ba3987b47f

Re: [Rpm-maint] [rpm-software-management/rpm] Enhanced checks and a fuzz harness (#1559)

2021-02-26 Thread Demi Marie Obenour
@DemiMarie pushed 4 commits. e467479bc59d61495c6fd20b903729afb87b4bad Fuzz harness 0d9b3cc00544c72ab61142d81bdabd195f31b26a Use 64-bit types for defense-in-depth 403245e799155242710bee552d8e16cb0821753f All headers must have more than a region 0b6a785286d193fc96f7a8452ba3987b47fc0b4d Assert t

[Rpm-maint] [rpm-software-management/rpm] Enhanced checks and a fuzz harness (#1559)

2021-02-25 Thread Demi Marie Obenour
As mentioned in https://github.com/rpm-software-management/rpm/pull/1492#issuecomment-784950879, adding individual checks here and there isn’t sufficient. A more systematic approach is required. The approach I came up with was 1. Replace the checks in `hdrblobImport` and `regionSwab` with asse