DragonFlyBSD Kernel Audit
DF-0802 / fix_harness_build.log
← back to finding ↓ download raw
bootp_panic_harness_fixed.c: In function 'bootpc_tag':
bootp_panic_harness_fixed.c:227:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign]
  return tctx->buf;
         ^~~~
bootp_panic_harness_fixed.c: In function 'bootpc_decode_reply':
bootp_panic_harness_fixed.c:367:55: warning: pointer targets in passing argument 3 of 'setfs' differ in signedness [-Wpointer-sign]
   } else if (setfs(&nd->root_saddr, nd->root_hostnam, p)) {
                                                       ^
bootp_panic_harness_fixed.c:267:1: note: expected 'char *' but argument is of type 'unsigned char *'
 setfs(struct sockaddr_in_k *addr, char *path, char *p)
 ^~~~~
bootp_panic_harness_fixed.c:378:55: warning: pointer targets in passing argument 3 of 'setfs' differ in signedness [-Wpointer-sign]
   } else if (setfs(&nd->swap_saddr, nd->swap_hostnam, p)) {
                                                       ^
bootp_panic_harness_fixed.c:267:1: note: expected 'char *' but argument is of type 'unsigned char *'
 setfs(struct sockaddr_in_k *addr, char *path, char *p)
 ^~~~~
At top level:
bootp_panic_harness_fixed.c:242:1: warning: 'print_sin_addr' defined but not used [-Wunused-function]
 print_sin_addr(struct sockaddr_in_k *sin)
 ^~~~~~~~~~~~~~
BUILD_EXIT=0