Nп/п : 59 из 100
От : Maxim Sokolsky 2:5020/828.777 18 сен 26 13:04:32
К : Eugene Subbotin 18 сен 26 13:07:02
Тема : Re: Hоводельный голдед
----------------------------------------------------------------------------------
@MSGID: 2:5020/828.777 6aacff40
@REPLY: 2:5075/35@fidonet 6aabefec
@PID: GED+W32 1.1.5-b20240306
@CHRS: CP866 2
@TZUTC: 0400
@TID: hpt/w32-mgw 1.4.0-sta 30-03-12
Здpавствуй, Eugene!
Новый баг goldnode/gdlnx на Linux aarch64 (Android/Termux)
=================================================================
==6223==ERROR: AddressSanitizer: stack-buffer-overflow on address
0x007fc52c9aef at pc 0x00300003fe20 bp 0x007fc52c9830 sp 0x007fc52c9848
READ of size 1 at 0x007fc52c9aef thread T0
#0 0x300003fe1c in getkeyvaleql(char**, char**, bool)
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldlib/gall/gcrckeyv.cpp:97
#1 0x3000040404 in getkeyvalcrc(char**, char**)
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldlib/gall/gcrckeyv.cpp:154
#2 0x3000030d4c in parse_config
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldnode/goldnode.cpp:1478
#3 0x3000032114 in parse_config
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldnode/goldnode.cpp:1627
#4 0x3000032a00 in read_config
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldnode/goldnode.cpp:1749
#5 0x3000033688 in run_gn
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldnode/goldnode.cpp:1868
#6 0x3000033750 in main
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldnode/goldnode.cpp:1902
#7 0x7c76467740 in __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
#8 0x7c76467814 in __libc_start_main_impl ../csu/libc-start.c:360
#9 0x3000026c2c in _start (/home/fido/usr/bin/gnlnx+0x26c2c)
Address 0x007fc52c9aef is located in stack of thread T0 at offset 447 in frame
#0 0x30000309e8 in parse_config
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldnode/goldnode.cpp:1455
This frame has 13 object(s):
[32, 40) `ptr` (line 1458)
[64, 72) `key` (line 1459)
[96, 104) `value` (line 1461)
[128, 136) `value2` (line 1462)
[160, 168) `ndz` (line 1550)
[192, 200) `ndz` (line 1577)
[224, 232) `exn` (line 1603)
[256, 264) `inn` (line 1610)
[288, 312) `fp` (line 1468)
[352, 416) `mapentry` (line 1632)
[448, 960) `buf` (line 1456) <== Memory access at offset 447
underflows this variable
[1024, 5128) `ndl` (line 1549)
[5392, 9496) `ndl` (line 1576)
HINT: this may be a false positive if your program uses some
custom stack unwind mechanism, swapcontext or vfork
(longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow
/home/fido/fidoip-2.0.5-5/golded/golded-plus/goldlib/gall/gcrckeyv.cpp:97 in getkeyvaleql(char**, char**, bool)
Shadow bytes around the buggy address:
0x001ff8a59300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x001ff8a59310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x001ff8a59320: 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 00 f2
0x001ff8a59330: f2 f2 00 f2 f2 f2 00 f2 f2 f2 00 f2 f2 f2 00 f2
0x001ff8a59340: f2 f2 00 f2 f2 f2 00 f2 f2 f2 00 00 00 f2 f2 f2
=>0x001ff8a59350: f2 f2 00 00 00 00 00 00 00 00 f2 f2 f2[f2]00 00
0x001ff8a59360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x001ff8a59370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x001ff8a59380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x001ff8a59390: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f2 f2
0x001ff8a593a0: f2 f2 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00
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
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
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
Left alloca redzone: ca
Right alloca redzone: cb
==6223==ABORTING
>---=== Куть офф "Windows Clipboard" ===---
С уважением - Maxim
--- -Каково? Запомните, чтоб цитировать.
* Origin: Гляди весело!! Ходи козырем! (2:5020/828.777)
SEEN-BY: 46/49 203/910 382/736 452/28 166 455/19
469/122 550/278 4500/1
SEEN-BY: 5001/100 5010/275 352 5015/46 5019/40 400
5020/77 181 290 545 570 715
SEEN-BY: 5020/806 828 830 848 921 1042 1146 1668
1955 2065 2192 2332 2992 4441
SEEN-BY: 5020/9696 12000 5022/2 128 5023/24 5029/32
5030/115 1081 5034/13
SEEN-BY: 5051/44 5055/73 5057/19 5060/900 5061/15
5075/35 128 5097/31 6035/3
SEEN-BY: 6078/80
@PATH: 5020/828 12000 4441 715