mirror of
https://github.com/ruvnet/RuView
synced 2026-08-11 20:41:44 +00:00
ed527afbaf
csi_collector.c gained esp_netif.h / ping/ping_sock.h / lwip/ip_addr.h
includes for the #954 gateway self-ping; the host-fuzz stub env lacked
them, breaking the fuzz build on main since 5789351b7. Stubs return
no-gateway so the self-ping path early-outs (compiles + links, never
exercised — matches the fuzz threat model which targets frame
serialization, not the network stack).
Co-Authored-By: claude-flow <ruv@ruv.net>
21 lines
425 B
C
21 lines
425 B
C
/* Host-fuzzing stub for lwip/ip_addr.h (ADR-061). Minimal surface for the
|
|
* #954 self-ping block; never functionally exercised in the fuzz env. */
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
uint32_t addr;
|
|
uint8_t type;
|
|
} ip_addr_t;
|
|
|
|
static inline int ipaddr_aton(const char *cp, ip_addr_t *addr)
|
|
{
|
|
(void)cp;
|
|
if (addr != NULL) {
|
|
addr->addr = 0;
|
|
addr->type = 0;
|
|
}
|
|
return 1;
|
|
}
|