Snippets for kismet 0.0.2025.09.R1 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/kismet/0.0.2025.09.R1/6.fc45/data/logs/i686/build.log.
-
./boost/smart_ptr/make_shared_object.hpp:49:13: warning: array subscript ‘struct sp_ms_deleter[0]’ is partly outside array bounds of ‘unsigned char[296]’ [-Warray-bounds=] 49 | if( initialized_ ) | ^~~~~~~~~~~~ -
./boost/smart_ptr/make_shared_object.hpp:63:26: warning: array subscript ‘struct sp_ms_deleter[0]’ is partly outside array bounds of ‘unsigned char[296]’ [-Warray-bounds=] 63 | initialized_ = false; | ~~~~~~~~~~~~~^~~~~~~ -
kis_dlt_radiotap.cc:187:9: warning: variable ‘record_num’ set but not used [-Wunused-but-set-variable=] 187 | int record_num = 0; | ^~~~~~~~~~ -
phy_bluetooth.cc:481:17: warning: unused variable ‘minor_class’ [-Wunused-variable] 481 | uint8_t minor_class = inquiry->minor_class >> 2; | ^~~~~~~~~~~ -
phy_bluetooth.cc:483:17: warning: unused variable ‘major_class’ [-Wunused-variable] 483 | uint8_t major_class = major_group & 0x1F; | ^~~~~~~~~~~ -
capture_framework.c:1551:46: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1551 | snprintf(errstr, STATUS_MAX, "Attempted to clean up channels which were " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
capture_framework.c:1551:46: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1551 | snprintf(errstr, STATUS_MAX, "Attempted to clean up channels which were " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
capture_framework.c:1604:53: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1604 | snprintf(errstr, STATUS_MAX, "Removed %lu channels from the channel list " | ~~^ | | | long unsigned int | %u 1605 | "because the source could not tune to them", 1606 | caph->channel_hop_failure_list_sz); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
capture_framework.c:2159:86: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2159 | fprintf(stderr, "FATAL: Capture source (%s) malforned too-small v3 packet (%lu / %lu)\n", | ~~^ | | | long unsigned int | %u 2160 | caph->capsource_type, len, packet_sz + sizeof(kismet_external_frame_v3_t)); | ~~~ | | | size_t {aka unsigned int} -
capture_framework.c:2159:92: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 2159 | fprintf(stderr, "FATAL: Capture source (%s) malforned too-small v3 packet (%lu / %lu)\n", | ~~^ | | | long unsigned int | %u 2160 | caph->capsource_type, len, packet_sz + sizeof(kismet_external_frame_v3_t)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint32_t {aka unsigned int} -
capture_framework.c:2247:99: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2247 | fprintf(stderr, "FATAL: Capture source (%s) incoming packet too large for ringbuf (%u / %lu)\n", | ~~^ | | | long unsigned int | %u 2248 | caph->capsource_type, total_sz, kis_simple_ringbuf_size(caph->in_ringbuf)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
log_tools/kismetdb_strip_packet_content.c:179:38: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 179 | printf("ERROR: Writing %lu to '%s' failed: %s\n", | ~~^ | | | long unsigned int | %u 180 | copysz, out_fname, strerror(errno)); | ~~~~~~ | | | size_t {aka unsigned int} -
capture_linux_wifi.c:2330:13: warning: ‘nm_device_set_managed’ is deprecated [-Wdeprecated-declarations] 2330 | nm_device_set_managed(nmdevice, 0); | ^~~~~~~~~~~~~~~~~~~~~ -
capture_linux_wifi.c:2885:13: warning: ‘nm_device_set_managed’ is deprecated [-Wdeprecated-declarations] 2885 | nm_device_set_managed(nmdevice, 0); | ^~~~~~~~~~~~~~~~~~~~~ -
capture_linux_wifi.c:3446:29: warning: ‘nm_device_set_managed’ is deprecated [-Wdeprecated-declarations] 3446 | nm_device_set_managed((NMDevice *) d, 1); | ^~~~~~~~~~~~~~~~~~~~~ -
capture_nrf_mousejack.c:206:9: warning: variable ‘matched_device’ set but not used [-Wunused-but-set-variable=] 206 | int matched_device = 0; | ^~~~~~~~~~~~~~ -
radiacode.c:122:64: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 122 | fprintf(stderr, "DEBUG - expected len %u got %lu\n", retlen, data_len - offt); | ~~^ ~~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
capture_radiacode_usb.c:74:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | termpos = strstr(data, val); | ^ -
libwifiuserspace/rt2800usb/rt2x00usb.c:265:10: warning: ‘found_in’ may be used uninitialized [-Wmaybe-uninitialized] 265 | bool found_in, found_out; | ^~~~~~~~ -
libwifiuserspace/rt2800usb/rt2x00usb.c:265:20: warning: ‘found_out’ may be used uninitialized [-Wmaybe-uninitialized] 265 | bool found_in, found_out; | ^~~~~~~~~ -
libwifiuserspace/userspace/userspace.c:268:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | fread((*firmware_blob), *blob_len, 1, fwfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
capture_linux_bluetooth.c:427:32: warning: unused variable ‘cstat’ [-Wunused-variable] 427 | struct mgmt_ev_cmd_status *cstat; | ^~~~~ -
capture_nrf_52840.c:62:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | write(localnrf->fd,tx_buf,tx_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~