1 #include "size_corruption.pb.h" 2 #include <pb_decode.h> 3 main()4int main() 5 { 6 MainMessage msg = MainMessage_init_zero; 7 msg.bar_count = (pb_size_t)-1; 8 pb_release(MainMessage_fields, &msg); 9 10 return 0; 11 } 12 13
1 #include "size_corruption.pb.h" 2 #include <pb_decode.h> 3 main()4int main() 5 { 6 MainMessage msg = MainMessage_init_zero; 7 msg.bar_count = (pb_size_t)-1; 8 pb_release(MainMessage_fields, &msg); 9 10 return 0; 11 } 12 13