Advertisement
EyesOfAHawk

Untitled

Aug 22nd, 2018
165
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. =================================================================
  2. ==2127== ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000b4db21 at pc 0x7ffff4e5be3d bp 0x7fffffffdfb0 sp 0x7fffffffdf70
  3. READ of size 1 at 0x000000b4db21 thread T0
  4.     #0 0x7ffff4e5be3c (/usr/lib64/libasan.so.0.0.0+0x10e3c)
  5.     #1 0xa5c007 (/home/user/Hercules/map-server+0xa5c007)
  6.     #2 0xa5fab2 (/home/user/Hercules/map-server+0xa5fab2)
  7.     #3 0x425e26 (/home/user/Hercules/map-server+0x425e26)
  8.     #4 0x478e00 (/home/user/Hercules/map-server+0x478e00)
  9.     #5 0x852b35 (/home/user/Hercules/map-server+0x852b35)
  10.     #6 0x8cbb5a (/home/user/Hercules/map-server+0x8cbb5a)
  11.     #7 0x8d25e2 (/home/user/Hercules/map-server+0x8d25e2)
  12.     #8 0x72a630 (/home/user/Hercules/map-server+0x72a630)
  13.     #9 0x75827d (/home/user/Hercules/map-server+0x75827d)
  14.     #10 0xa84ad9 (/home/user/Hercules/map-server+0xa84ad9)
  15.     #11 0x409f6a (/home/user/Hercules/map-server+0x409f6a)
  16.     #12 0x7ffff3333444 (/usr/lib64/libc-2.17.so+0x22444)
  17.     #13 0x40a622 (/home/user/Hercules/map-server+0x40a622)
  18. 0x000000b4db21 is located 903265 bytes inside of global variable '<null>' (0xa712c0) of size 10926448
  19. 0x000000b4db21 is located 910417 bytes inside of global variable 'UH▒WAVAUATSH▒▒H▒ɉ}▒H▒M▒L▒E▒D▒M▒▒' (0xa6f6d0) of size 10932144
  20. 0x000000b4db21 is located 7130977 bytes inside of global variable 'UH▒WI▒VAUATSH▒H▒▒M▒' (0x480bc0) of size 8773408
  21. 0x000000b4db21 is located 11852372 bytes to the right of global variable '<null>' (0x4d) of size 128
  22.  
  23. Program received signal SIGSEGV, Segmentation fault.
  24. PrintGlobalNameIfASCII (g=...)
  25.     at ../../../../libsanitizer/asan/asan_report.cc:185
  26. 185         if (!IsASCII(*(unsigned char*)p)) return;
  27.  
  28. (gdb) bt full
  29. #0  PrintGlobalNameIfASCII (g=...)
  30.     at ../../../../libsanitizer/asan/asan_report.cc:185
  31.         p = 77
  32. #1  __asan::DescribeAddressRelativeToGlobal (addr=<optimized out>,
  33.     addr@entry=11852577, size=size@entry=1, g=...)
  34.     at ../../../../libsanitizer/asan/asan_report.cc:212
  35.         d = {<__sanitizer::AnsiColorDecorator> = {
  36.             ansi_ = true}, <No data fields>}
  37. #2  0x00007ffff4e60476 in __asan::DescribeAddressIfGlobal (
  38.     addr=addr@entry=11852577, size=size@entry=1)
  39.     at ../../../../libsanitizer/asan/asan_globals.cc:58
  40.         g = @0x7ffff053c7e0: {beg = 77, size = 128,
  41.           size_with_redzone = 140737223269486, name = 0x0,
  42.           has_dynamic_init = 140737223224064}
  43.         l = 0x7ffff7f7a500
  44.         lock = {mu_ = 0x7ffff75d71e0 <__asan::mu_for_globals>}
  45.         res = true
  46. #3  0x00007ffff4e6306b in __asan::DescribeAddress (addr=11852577,
  47.     access_size=1) at ../../../../libsanitizer/asan/asan_report.cc:381
  48.  
  49. #4  0x00007ffff4e63be2 in __asan_report_error (pc=140737302085181,
  50.     bp=140737488347056, sp=<optimized out>, addr=11852577,
  51.     is_write=<optimized out>, access_size=1)
  52.     at ../../../../libsanitizer/asan/asan_report.cc:693
  53.         tname = '\000' <repeats 127 times>
  54.         bug_descr = 0x7ffff4e6d791 "global-buffer-overflow"
  55.         d = <optimized out>
  56.         stack = {size = 15, max_size = 256, trace = {140737302085181,
  57.             10862600, 10877619, 4349479, 4689409, 8727350, 9223003, 9250275,
  58.             7513649, 7701118, 11029210, 4235115, 140737273607237, 4236835, 0,
  59.             4236835, 0 <repeats 35 times>, 140737302110018, 0, 48,
  60.             140737488347312, 140737302075555, 0 <repeats 15 times>,
  61.             8913131830549657856, 0, 140737277411488, 140737488347240,
  62.             12213696, 140737488346864, 140737273763291, 0, 0, 0, 0, 0, 0, 0,
  63.             0, 0, 0, 140737488345712, 140737273782637, 0, 0, 0,
  64.             140737302018416, 1, 22, 3278577354, 140737351929643, 0,
  65.             140737488345568, 140737302018132, 140737302023072,
  66.             140737488345840, 140737488345824, 10, 18446744073709551615, 0, 0,
  67.             140737354110552, 140737302025670, 140737302024776,
  68.             140737302023072, 21474836480, 4294967490, 47, 140737488346024,
  69.             140737488345984, 1, 0, 140737354111408, 140737354110552,
  70.             140737351930383, 0, 0, 140733193388037, 0, 17587891077121,
  71.             140737354110552, 206158430232, 140737488347456, 140737488347264,
  72.             10925884, 0, 140737354111408, 140737488345840, 140737488345824,
  73.             3278577354, 140737302025670, 4294967295, 16, 140737302023072,
  74.             140737354110552, 140737488345920, 6126473, 35, 0, 140737232010496,
  75.             140737488346032, 140737232010496, 17594301459064, 140737488346144,
  76.             140737228120838, 140737232015680, 140737304285728, 0, 50,
  77.             4294967231, 140737111929836, 140737488347056, 140737351950110, 5,
  78.             0, 1102416563, 140737302023072, 140737488346944, 140737351981866,
  79.             140737302085181, 11852577, 140737488346992, 140737488347056,
  80.             140737302085181, 0, 1, 2147483647, 140737488346400, 0, 2147483647,
  81.             281470681784289, 140737488346336, 7032400, 17594333494154, 0,
  82.             17592186043274, 140737228120256, 1102416563, 11687576, 0, 0,
  83.             206158430256, 140737488346856, 140737488346640, 0, 0, 0,
  84.             280375481794560, 0, 0, 0, 0, 0, 18374686479671623680,
  85.             18446744073709551615, 0, 0, 0, 0, 7954889941297476640,
  86.             3395767286978060385, 12519636429650605088, 14829734547884605662,
  87.             14829735431805717965, 14829735431805717965, 0, 72057589742960640,
  88.             0, 0, 18446744073709551615, 18446744069414584320, 0, 0, 0, 0, 0,
  89.             0, 0, 0, 17594333494212, 140737153418440, 17592186043332, 25...}}
  90.  
  91. #5  0x00007ffff4e5be5a in __interceptor_strncasecmp (s1=<optimized out>,
  92.     s2=0x7fffe99033ec "storage", n=<optimized out>)
  93.     at ../../../../libsanitizer/asan/asan_interceptors.cc:482
  94.         bp = 140737488347056
  95.         pc = <optimized out>
  96.         local_stack = 13290776753943
  97.         sp = 140737488346992
  98.         __offset = <optimized out>
  99.         c1 = <optimized out>
  100.         c2 = <optimized out>
  101.         i = <optimized out>
  102.  
  103. #6  0x0000000000a5c008 in db_istring_cmp (key1=..., key2=..., maxlen=77)
  104.     at db.c:961
  105. No locals.
  106. #7  0x0000000000a5fab3 in db_obj_get (self=0x60b000014c08, key=...)
  107.     at db.c:1612
  108.         data = 0xb4db21
  109. #8  0x0000000000425e27 in atcommand_checkalias (aliasname=0xb4db21 "")
  110.     at atcommand.c:10362
  111.         alias_info = 0x0
  112. #9  0x0000000000478e01 in atcommand_can_use (sd=0x60a002940430,
  113.     command=0xb4db20 "") at atcommand.c:10844
  114.         acmd_d = 0x425c90 <get_atcommandinfo_byname>
  115.         bcmd_d = 0x425c90 <get_atcommandinfo_byname>
  116. #10 0x0000000000852b36 in buildin_can_use_command (st=0x7ffff1af8b1c)
  117.     at script.c:22797
  118.         sd = 0x0
  119. #11 0x00000000008cbb5b in run_func (st=0x7ffff1af8b1c) at script.c:4456
  120.         data = 0x0
  121.         i = 77
  122.         start_sp = 77
  123.         end_sp = -134356992
  124. #12 0x00000000008d25e3 in run_script_main (st=0x7ffff1af8b1c) at script.c:4714
  125.         c = 11852578
  126.         cmdcount = 655355
  127.         nd = 0x0
  128. #13 0x000000000072a631 in npc_event_sub (sd=0x7ffff7fde000, ev=0xcd,
  129.     eventname=0xcc <Address 0xcc out of bounds>) at npc.c:873
  130. No locals.
  131. #14 0x000000000075827e in pc_eventtimer (tid=11261, tick=205, id=77,
  132.     data=140737024022092) at pc.c:9909
  133.         sd = 0x0
  134.         i = -11088
  135.         __func__ = "pc_eventtimer"
  136. #15 0x0000000000a84ada in do_timer (tick=140737353998336) at timer.c:498
  137.         __func__ = "do_timer"
  138. #16 0x0000000000409f6b in main (argc=1, argv=0x7fffffffe468) at core.c:556
  139.         next = 0
  140.         retval = 11027744
Advertisement
RAW Paste Data Copied
Advertisement