This repository was archived by the owner on Apr 5, 2026. It is now read-only.
Commit a7e832e
committed
fix: SIGSEGV in mtfront_pre_loop from CONN_INFO on listening connection
Root cause of intermittent CI crashes. CONN_INFO(LC)->window_clamp
wrote at offset 512 into an 80-byte listening_connection_info allocation
(432 bytes out of bounds). The job allocator's slab layout usually
placed valid memory there, but occasionally hit a page boundary causing
SIGSEGV.
Fix: use LISTEN_CONN_INFO(LC) which accesses the correct struct.
Both structs have a window_clamp field; net-connections.c:730 already
copies LC->window_clamp to accepted connections correctly.1 parent 6148f9f commit a7e832e
2 files changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
250 | 252 | | |
251 | 253 | | |
252 | 254 | | |
253 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 | | |
255 | 259 | | |
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
259 | 263 | | |
260 | | - | |
| 264 | + | |
261 | 265 | | |
262 | 266 | | |
263 | 267 | | |
264 | | - | |
265 | | - | |
266 | | - | |
| 268 | + | |
267 | 269 | | |
268 | 270 | | |
269 | 271 | | |
| 272 | + | |
| 273 | + | |
270 | 274 | | |
271 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
272 | 279 | | |
273 | 280 | | |
274 | 281 | | |
275 | | - | |
276 | 282 | | |
277 | 283 | | |
278 | 284 | | |
| 285 | + | |
279 | 286 | | |
280 | 287 | | |
281 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2287 | 2287 | | |
2288 | 2288 | | |
2289 | 2289 | | |
2290 | | - | |
| 2290 | + | |
2291 | 2291 | | |
2292 | 2292 | | |
2293 | 2293 | | |
| |||
0 commit comments