Repository navigation
Commit db8d547
committed
fix(extract): keep both Go method QN sides flat when the type QN is NULL
cbm_fqn_compute_source_lang returns NULL only when the module QN cannot be
built (arena exhaustion). The receiver-qualified branches then passed that
NULL to "%s". Both sides now fall back to the flat QN together, so the def
and its calls still agree. Allocation-failure path only; no change on any
normal run. (Raised in our security review of the updated head.)
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 87cafb9 commit db8d547
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6700 | 6700 | | |
6701 | 6701 | | |
6702 | 6702 | | |
6703 | | - | |
| 6703 | + | |
6704 | 6704 | | |
6705 | 6705 | | |
6706 | 6706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1113 | 1117 | | |
1114 | 1118 | | |
1115 | 1119 | | |
| |||
0 commit comments