Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a null pointer exception caused by branching on uninitialized data. #51308

Merged

Conversation

mihaimaruseac
Copy link
Collaborator

This is due to not checking that the params for the quantization exists. If there is no quantization, we should not access the .params field.

PiperOrigin-RevId: 385163909
Change-Id: I2beb8d50649b6542db224c163033fbcbaa49314f

This is due to not checking that the params for the quantization exists. If there is no quantization, we should not access the `.params` field.

PiperOrigin-RevId: 385163909
Change-Id: I2beb8d50649b6542db224c163033fbcbaa49314f
@google-cla google-cla bot added the cla: yes label Aug 5, 2021
@mihaimaruseac mihaimaruseac merged commit 2851604 into r2.3 Aug 5, 2021
@mihaimaruseac mihaimaruseac deleted the mm-cp-537bc7c723439b9194a358f64d871dd326c18887-on-r2.3 branch August 5, 2021 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant