prost
prost copied to clipboard
I found two recursive functions which may cause stack overflow?
Hello~ We have found two recursive functions in crate prost-build.
- add_message at prost-build/src/message_graph.rs:60:5: 60:68
- append_message at **prost-build/src/code_generator.rs:120:5: 120:59
Maybe we can construct a nested input to make this two functions recursive deeply? For example: a nested DescriptorProto?
Do you have an example that shows this stack overflow?