Repository navigation
Commit d2ea04a
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 5283fe0 commit d2ea04a
2 files changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7204 | 7204 | | |
7205 | 7205 | | |
7206 | 7206 | | |
7207 | | - | |
7208 | | - | |
7209 | | - | |
7210 | | - | |
| 7207 | + | |
| 7208 | + | |
| 7209 | + | |
| 7210 | + | |
| 7211 | + | |
7211 | 7212 | | |
7212 | | - | |
7213 | 7213 | | |
7214 | | - | |
| 7214 | + | |
| 7215 | + | |
| 7216 | + | |
7215 | 7217 | | |
7216 | 7218 | | |
7217 | 7219 | | |
| |||
7244 | 7246 | | |
7245 | 7247 | | |
7246 | 7248 | | |
7247 | | - | |
7248 | | - | |
7249 | | - | |
7250 | | - | |
7251 | | - | |
| 7249 | + | |
| 7250 | + | |
7252 | 7251 | | |
7253 | 7252 | | |
7254 | 7253 | | |
| |||
7271 | 7270 | | |
7272 | 7271 | | |
7273 | 7272 | | |
7274 | | - | |
| 7273 | + | |
7275 | 7274 | | |
7276 | 7275 | | |
7277 | 7276 | | |
| |||
0 commit comments