This repository was archived by the owner on Apr 5, 2026. It is now read-only.
Commit 38dd0f5
committed
ci: fix ASan self-test — use -M 0 and re-introduce real bug
The standalone toy program proved the toolchain works, but couldn't
catch real proxy bugs. Switch back to re-introducing the actual
CONN_INFO heap overflow (a7e832e).
Root cause of prior failure: with -M 1, the bug triggers in the forked
child worker (workers=0), but $! captures the parent PID. ASan output
from the child was lost. Fix: use -M 0 (single process, no fork) so
the bug fires in the main process whose stderr we capture.
Also: use separate ports (7443/7888) to avoid conflicts with the clean
test, and redirect both stdout+stderr to the log.1 parent ca26c91 commit 38dd0f5
1 file changed
Lines changed: 35 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
226 | 236 | | |
227 | | - | |
228 | | - | |
| 237 | + | |
| 238 | + | |
229 | 239 | | |
230 | | - | |
231 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
232 | 243 | | |
233 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
0 commit comments