Skip to content

Prevent null pointer dereference in constant folding.#54057

Merged
mihaimaruseac merged 1 commit intotensorflow:r2.5from
pranve:cherrypick-0a365c029e437be0349c31f8d4c9926b69fa3fa1-on-r2.5
Jan 26, 2022
Merged

Prevent null pointer dereference in constant folding.#54057
mihaimaruseac merged 1 commit intotensorflow:r2.5from
pranve:cherrypick-0a365c029e437be0349c31f8d4c9926b69fa3fa1-on-r2.5

Conversation

@pranve
Copy link

@pranve pranve commented Jan 25, 2022

Under certain conditions, an invalid protobuf saved model with invalid nodes would be loaded. During optimization phase, Grappler optimizer will then dereference a null pointer.

PiperOrigin-RevId: 409683530
Change-Id: I1f10340a7ec384bc9bc587300390f1078cf5caa0

Under certain conditions, an invalid protobuf saved model with invalid nodes would be loaded. During optimization phase, Grappler optimizer will then dereference a null pointer.

PiperOrigin-RevId: 409683530
Change-Id: I1f10340a7ec384bc9bc587300390f1078cf5caa0
@pranve pranve requested a review from mihaimaruseac January 25, 2022 08:39
@mihaimaruseac mihaimaruseac merged commit 1c95591 into tensorflow:r2.5 Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants