Verify leaf node squashing 06/89806/3
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 30 Aug 2019 12:11:09 +0000 (14:11 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 13 Jul 2020 18:50:52 +0000 (18:50 +0000)
commita8e559ce433d6537affb34ef60367727cd16f5ef
tree0c4e4e0e5a46a1ea4e3da10ae60e10cd0c5bf445
parent7241cf44b7115b5d6c4eb6325718d5f9785ad308
Verify leaf node squashing

There is a very slight possiblity of somebody playing tricks
to inject Leaf node with a DataContainerChild value, in which case
decoding would break. Verify this does not happen.

JIRA: YANGTOOLS-1019
Change-Id: Idbd6457817b9db5f2b2d4b3fafce57169ace6ec1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit cb9d764b14060a24dcabd581b9a0e0c228710402)
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/nodes/LazyLeafOperations.java