commit | a3a10136785dd52fe7f6cc0e14b883d658b82acc | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Mon Aug 06 15:07:29 2012 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Mon Aug 06 15:07:29 2012 -0700 |
tree | 4badbc650e2afb53de2176422ae880857e16a992 | |
parent | 9a147ff3328ebeb63efcdc743f14da6cc96c50fd [diff] |
Fix possible NPEs in ReplaceRequest.cmd usage in ReceiveCommits The cmd field is populated by validate(boolean). If this method fails we may not be able to set results on all ReplaceRequests. Guard the attempt to access the field with a null check. Change-Id: Ib0b87f8751f40b25790bd630f9438177b091decc