Repository navigation
Commit e6638a7
committed
doc-links(core): index_status failure paths leave through its one exit
The doc_links report added two early returns to handle_index_status, each
with its own free of the project name: raw allocator sites the memory-core
ratchet does not allow (mcp.c went from 778 to 779 on this base). A failed
allocation or report now sets a flag and leaves through the existing exit,
which frees the name and answers with the MCP allocation-error response as
before. The baseline of mcp.c is lowered to the 777 the ratchet now
measures.
Tests: doc_mentions (incl. the doc-link report fault injection), mcp pass;
lint-memory-core passes.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent fb8d14f commit e6638a7
1 file changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7246 | 7246 | | |
7247 | 7247 | | |
7248 | 7248 | | |
7249 | | - | |
7250 | | - | |
7251 | | - | |
7252 | | - | |
| 7249 | + | |
| 7250 | + | |
| 7251 | + | |
| 7252 | + | |
| 7253 | + | |
7253 | 7254 | | |
7254 | | - | |
7255 | 7255 | | |
7256 | | - | |
| 7256 | + | |
| 7257 | + | |
| 7258 | + | |
7257 | 7259 | | |
7258 | 7260 | | |
7259 | 7261 | | |
| |||
7287 | 7289 | | |
7288 | 7290 | | |
7289 | 7291 | | |
7290 | | - | |
7291 | | - | |
7292 | | - | |
7293 | | - | |
7294 | | - | |
| 7292 | + | |
| 7293 | + | |
7295 | 7294 | | |
7296 | 7295 | | |
7297 | 7296 | | |
| |||
7314 | 7313 | | |
7315 | 7314 | | |
7316 | 7315 | | |
7317 | | - | |
| 7316 | + | |
7318 | 7317 | | |
7319 | 7318 | | |
7320 | 7319 | | |
| |||
0 commit comments