Commit 62b7437
Ignore missing descriptors in Reflection::ListFields.
This will prevent UB and crashes when lite extensions exist on full messages, which is possible when implicit_weak (force-lite) is enabled. Under normal situations we prevent such extensions.
PiperOrigin-RevId: 8434848561 parent cd76e67 commit 62b7437
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
0 commit comments