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

iQIcBAABCgAGBQJZ6AqLAAoJEAw69mSf/CEC2GEQAKke2Mtpm8RQeEGbenn9UDZT
7yxxtOOHh2a/49b5+3C9bA0r053Va0RAruvKxiVYY22vEC0gBG5Ln3rwkBY4umwW
WeP7G/CKFtABUFdZxd9IpCL59Ju1ipZ4DP4J3c1taUvY1Nj1sm5O0ylhkd4F0jIh
BSv8/jpDJMW8WrPtMlBgx1I3HVm2UQjalhqCVDWYlkXVPdCVdPVlB3NRnXSwzJ+Q
HG9voz3OWECFmcYE5EVVUpJA+yxPKjLnFQ8q+CXf9Y+q9UekqCv14u/kSqjjfJlv
BPQ8Ra+aoxB0GnoDQv2tVP/svyOwY3F3Oz4xpm3agxxXrx7TYHI9CqsF6myCtrHB
WQDY37rUNLVj1k5J8Imd0cpJpFd4gD0j6Wt0TaB7k7gF77dSUHbQSRrHWvz9b9PU
A4piL+dmioUOD7Amx4pE6U8t0CN2d0SYvzUy/U1W/0sbH+F7sr1uQoFMS8jphNnp
CTPgv7vQb2S10fLAxJP8vfBpSmpuXUmxz5Lr8VWTRhE1aWz3wxhe8EWeKK7ZcL4G
seelENeb/ddOigBY55qDpRSbM3s+JDu8S6YdV0yJX8czE4k81itSCiLxHja+NMdB
8eU6d6Tpv7b2d1F937/8gAl2i44XoqAIh9YR8pPDXFwbvWUna6rzmvypgYS9MUyH
JeaAiVfBAkg9qzusnOel
=JPgL
-----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/