v2.14.6
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAABCgAGBQJaG027AAoJEAw69mSf/CECHXEQAL7ldatYsFT0rsKAGLBFD2rC
iwxqMnOj/1ai1ofazcQaK1CFRSQXh0WvtXLsRqmkjZp9rKrm2BBWIrBaXWBUfNYR
XKJ5NNtJaPn/0N3823oo7CerGv9HskOnS/qWjJyOrXQtKC0TfPw26FL7spLZGDGa
S1vtLazNLD/GzObYcVsipb0ECNauKKaA8W149mHOJoFNCYi/uD83JcY0H1o0CLfo
Er203QoRAbVwL69tbY67KIJM6QcrDbOHWGtP1uqrUoCoH91rwECZA9+0Mt+zccaz
HnY9jHDGw9DmqBRqAoVUuNnLI89+iinndwfP8eWF12uGdgDs2uSFBPz3HuZw91J4
RlulDdOQnPlAv5Y9NLNnns5CZH6yn1ErI+nebZ8/6+5zZX+DYIw9kUj/mCvobyx1
3UDm9MibELSsbgNLsYvmlHqeqLkgnTeo0LPe6ZRHFTrO0vuvD8QZmJwxzxMbFo6T
HubcmsxbO0Nw2i/svMb5DEf146ZBKd4vb0H/TMryEuFiL3f7op6f7nYR7Fz2HNoR
Vo5KH6JvkSgfyxT4Q0lt95afwOop4J2+zV4iCIru5Zgm9MAOvjS0u7creIIez1yA
72x2RdSnUAVU1Jziu041lzQCEBFCFM0KKcOlIf8zYirdiwEIfANHrzC+C/sERGZw
fzfnilUNYuwAGVaF+CDF
=Tpkx
-----END PGP SIGNATURE-----
RefUpdate: Protect against null ObjectId in ReceiveCommand

RefUpdate's onRefOperation method is invoked by RefOperationValidators
for every registered RefOperationValidationListener.

If one of those listeners passes a RefReceivedEvent that contains an
instance of ReceiveCommand that was initialized with null old or
new ObjectId, this results in a NullPointerException when the ObjectId
is dereferenced to get the name.

Protect against such misbehaving validators by translating any null
instance to ObjectId.zeroId().

Change-Id: Ib9399c2351af20b23f8c4481c7b067f3a4dcb688
1 file changed
tree: ace2312bb26c1effc56371fad9deb70e18ecd3bf
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. src/