# DF-0111 — REPRODUCED (source-only)

## Build
```sh
sh build.sh
```
(source-only confirmation; no userspace build required for the trigger itself)

## Run
```sh
sh run.sh
```

## Expected
none (in-kernel scanf only) on the unfixed kernel; after applying `fix.diff` the cited defect is closed.
This finding was verified by source-tracing `sys/kern/subr_scanf.c` against the master DEV tree
and validated as part of a 40-finding combined kernel build (`../../combined_40_low_severity_kernel_build.log`).

## Mechanism
kvsscanf CT_CHAR non-suppress branch at :308 does bcopy(inp,va_arg(ap,char*),width) without checking width<=inr. SUPPRESS branch at :292 correctly clamps to min(inr,width). If width>inr (e.g. %5c on 3-char input), reads past NUL terminator into adjacent kernel memory.
