Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Fixed null pointer bug in _revertToPreviousState #1691

Closed
wants to merge 1 commit into from

Conversation

mhbrown
Copy link
Contributor

@mhbrown mhbrown commented Mar 12, 2015

If i==0 (didn't go through the loop at all), prev would be null and
prev._next would result in a null pointer exception.

If i==0 (didn't go through the loop at all), prev would be null and
prev._next would result in a null pointer exception.
@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@mhbrown
Copy link
Contributor Author

mhbrown commented Mar 12, 2015

Just submitted the CLA.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

@mhbrown
Copy link
Contributor Author

mhbrown commented Mar 12, 2015

Added the correct email address to the CLA.

@googlebot
Copy link

CLAs look good, thanks!

@rkirov
Copy link
Contributor

rkirov commented Mar 13, 2015

Can you add a test that reproduces this bug?

chirayuk pushed a commit to chirayuk/angular.dart that referenced this pull request Mar 30, 2015
If i==0 (didn't go through the loop at all), prev would be null and
prev._next would result in a null pointer exception.

Closes dart-archive#1691
@chirayuk chirayuk closed this in 0643579 Mar 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

3 participants