Skip to content

[BugFix]: fix for converting serde_yaml::Value into internal Value type - #422

Merged
joshfried-aws merged 1 commit into
aws-cloudformation:mainfrom
joshfried-aws:main
Nov 30, 2023
Merged

joshfried-aws merged 1 commit into
aws-cloudformation:mainfrom
joshfried-aws:main

Conversation

@joshfried-aws

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
Using our fuzzer I discovered another bug involved with keys for maps. This time it was when trying to convert from serde_yaml -> our internal value type. We now error our if the value for the key in the serde_yaml::Value::Map is not a String. This is consistent with the logic throughout our project. Unfortunately since serde_yaml does not provide the location, our error message doesn't include the location where this error occurs.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@joshfried-aws
joshfried-aws merged commit ce3fed0 into aws-cloudformation:main Nov 30, 2023
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.

3 participants