https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298192

            Bug ID: 298192
           Summary: sbin/bectl/bectl_jail.c: -Wformat-overflow error
                    reported by gcc14 in error path
           Product: Base System
           Version: 14.5-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Seen in CI with stable/14 + gcc14:
https://ci.freebsd.org/job/FreeBSD-stable-14-amd64-gcc14_build/1283/
```
/workspace/src/sbin/bectl/bectl_jail.c: In function 'bectl_cmd_jail':
/workspace/src/sbin/bectl/bectl_jail.c:264:68: warning: '%s' directive argument
is null [-Wformat-overflow=]
 264 |                                     "bectl jail: error unsetting
\"%s\"\n",
     |                                                                    ^~
```
NOTE: this didn't cause the build failure -- it's just a warning seen in
passing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to