Submitted by berndartmueller
The check if the newly provided project splits contain the currently locked splits does not check the JBSplit struct properties preferClaimed and preferAddToBalance.
According to the docs in JBSplit.sol, if the split should be unchangeable until the specified time, with the exception of extending the locked period., locked sets are unchangeable.
However, locked sets with either preferClaimed or preferAddToBalance set to true can have their bool values overwritten by supplying the same split just with different bool values.
JBSplitsStore.sol#L213-L220
The check for sameness does not check the equality of the struct properties preferClaimed and preferAddToBalance.
Please see wardens original report for full PoC and Mitigation details.
Add two additional sameness checks for preferClaimed and preferAddToBalance:
mejango (Juicebox) confirmed 
mejango (Juicebox) resolved:
berndartmueller (warden) reviewed mitigation:
For this contest, 60 reports were submitted by wardens detailing low risk and non-critical issues. The report highlighted below by IllIllI received the top score from the judge.
The following wardens also submitted reports: Lambda, _141345_, zzzitron, berndartmueller, Meera, GimelSec, Picodes, horsefacts, 0xNazgul, 0x1f8b, simon135, cccz, sahar, robee, jonatascm, joestakey, hubble, Funen, codexploder, 0xDjango, Sm4rty, Hawkeye, delfin454000, Ch_301, asutorufos, hake, Waze, TomJ, TerrierLover, svskaushik, samruna, sach1r0, Rohan16, ReyAdmirado, rbserver, pashov, oyc_109, MiloTruck, m_Rassska, Kaiziron, JC, durianSausage, defsec, Chom, Chandr, Bnke0x0, aysha, 0xNineDec, 0xf15ers, 0xdanial, 0x29A, 0v3rf10w, _Adam, rajatbeladiya, Noah3o6, jayfromthe13th, fatherOfBlocks, djxploit, and brgltd.
