You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Clang 19.1.1 on Windows 10. Protobuf version: 5.29.3 (latest available), also present in 5.29.2. The issue is NOT present on Clang 17; I have not tested version 18.
I've also tested this with Clang 19 on Ubuntu 24 and it cannot be reproduced there.
however, in this case MessageCreator::func_ is NULL, so the result is an access violation.
Note that I'm not sure at this stage whether this is an issue in protobuf or Clang, I'm still investigating this to find a possible workaround, but I felt it may be worth reporting here to let others know.
The text was updated successfully, but these errors were encountered:
I'm using Clang 19.1.1 on Windows 10. Protobuf version: 5.29.3 (latest available), also present in 5.29.2. The issue is NOT present on Clang 17; I have not tested version 18.
I've also tested this with Clang 19 on Ubuntu 24 and it cannot be reproduced there.
Here's my proto file and C++ source:
test.proto
main.cpp
The code above crashes deep inside
ParseFromString
when deserializing therepeated
field:specifically, in
MessageCreator::PlacementNew
, the following line is executed:however, in this case
MessageCreator::func_
is NULL, so the result is an access violation.Note that I'm not sure at this stage whether this is an issue in protobuf or Clang, I'm still investigating this to find a possible workaround, but I felt it may be worth reporting here to let others know.
The text was updated successfully, but these errors were encountered: