FreeRangeRouting Github Pull Request Testing

Build: #8609 was successful

Job: AddressSanitizer Topotest was successful

Job result summary

Completed
Duration
82 minutes
Flags
Custom revisionCustom build
Agent
mininet02.lab.netdef.org
Successful since
#8400 ()

Error summary

The build generated some errors. See the full build log for more details.

addgroup: The group `frr' already exists as a system group. Exiting.
    [288, 336) 'p'
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      (longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow lib/prefix.c:776 prefix_cmp
Shadow bytes around the buggy address:
  0x10005e873530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3
  0x10005e873540: f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00
  0x10005e873550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10005e873560: 00 00 f1 f1 f1 f1 04 f4 f4 f4 f2 f2 f2 f2 00 04
  0x10005e873570: f4 f4 f2 f2 f2 f2 00 04 f4 f4 f2 f2 f2 f2 00 00
=>0x10005e873580:[f4]f4 f2 f2 f2 f2 00 00 00 00 00 00 f4 f4 f3 f3
  0x10005e873590: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10005e8735a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1
  0x10005e8735b0: f1 f1 02 f4 f4 f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2
  0x10005e8735c0: f2 f2 00 00 f4 f4 f2 f2 f2 f2 00 00 00 00 f2 f2
  0x10005e8735d0: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 f2 f2
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
2019-08-13 16:23:57,076 ERROR: assert failed at "bgp_rfapi_basic_sanity_config2.test_bgp_rfapi_basic_sanity_config2/test_memory_leak": r2: Daemon bgpd not running - killed by AddressSanitizer

r2: bgpd triggered an exception by AddressSanitizer
ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffef43dac00 at pc 0x0000006809e6 bp 0x7ffef43d80f0 sp 0x7ffef43d80e0
READ of size 1 at 0x7ffef43dac00 thread T0
    #0 0x6809e5 in prefix_cmp lib/prefix.c:776
    #1 0x5789ce in rfapiItBiIndexSearch bgpd/rfapi/rfapi_import.c:2230
    #2 0x5789ce in rfapiBgpInfoFilteredImportVPN bgpd/rfapi/rfapi_import.c:3520
    #3 0x57b8b9 in rfapiProcessWithdraw bgpd/rfapi/rfapi_import.c:4071
    #4 0x4b6627 in bgp_withdraw bgpd/bgp_route.c:3735
    #5 0x476746 in bgp_nlri_parse_vpn bgpd/bgp_mplsvpn.c:237
    #6 0x48a497 in bgp_nlri_parse bgpd/bgp_packet.c:314
    #7 0x48f559 in bgp_update_receive bgpd/bgp_packet.c:1600
    #8 0x48f559 in bgp_process_packet bgpd/bgp_packet.c:2278
    #9 0x6b4097 in thread_call lib/thread.c:1581
    #10 0x6527cd in frr_run lib/libfrr.c:1054
    #11 0x42c9cf in main bgpd/bgp_main.c:478
    #12 0x7f2995c5582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #13 0x42b528 in _start (/usr/lib/frr/bgpd+0x42b528)

Address 0x7ffef43dac00 is located in stack of thread T0 at offset 240 in frame
    #0 0x475f69 in bgp_nlri_parse_vpn bgpd/bgp_mplsvpn.c:103

  This frame has 5 object(s):
    [32, 36) 'label'
    [96, 108) 'rd_as'
    [160, 172) 'rd_ip'
    [224, 240) 'prd' <== Memory access at offset 240 overflows this variable
    [288, 336) 'p'
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      (longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow lib/prefix.c:776 prefix_cmp
Shadow bytes around the buggy address:
  0x10005e873530: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3
  0x10005e873540: f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00
  0x10005e873550: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10005e873560: 00 00 f1 f1 f1 f1 04 f4 f4 f4 f2 f2 f2 f2 00 04
  0x10005e873570: f4 f4 f2 f2 f2 f2 00 04 f4 f4 f2 f2 f2 f2 00 00
=>0x10005e873580:[f4]f4 f2 f2 f2 f2 00 00 00 00 00 00 f4 f4 f3 f3
  0x10005e873590: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10005e8735a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1
  0x10005e8735b0: f1 f1 02 f4 f4 f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2
  0x10005e8735c0: f2 f2 00 00 f4 f4 f2 f2 f2 f2 00 00 00 00 f2 f2
  0x10005e8735d0: f2 f2 00 00 00 00 00 00 00 00 00 00 00 00 f2 f2
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
r2: Daemon bgpd killed by AddressSanitizer2019-08-13 16:23:59,773 ERROR: assert failed at "bgp_rfapi_basic_sanity_config2.test_bgp_rfapi_basic_sanity_config2/test_memory_leak":
r2: Daemon bgpd killed by AddressSanitizer