[YANGTOOLS-760] yang-data-impl: missing length constraint checking Created: 22/Mar/17 Updated: 10/Apr/22 Resolved: 12/Apr/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8039 |
| Description |
|
Codecs for both binary and string types do not check length constraints, allowing non-conformant data to pass parsing phase. Both codecs have the required information available, hence they should be enforcing it. |
| Comments |
| Comment by Robert Varga [ 22/Mar/17 ] |
| Comment by Robert Varga [ 23/Mar/17 ] |