- GOLDED.DEVEL ------------ < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 8 из 80
 От   : Nil A                               2:5015/46         16 сен 26 21:07:02
 К    : Eugene Subbotin                                       16 сен 26 21:10:02
 Тема : Asan
----------------------------------------------------------------------------------
                                                                                 
@REPLY: 2:5075/35@fidonet 6aaacc5f
@MSGID: 2:5015/46 6aaadb53
@CHRS: CP866 2
@TZUTC: 0300
@TID: hpt/lnx 1.9
 *** Answering a message in area ru.fidonet.today (2:50 Bone: Жизнь
современного Фидо).

Hello, Eugene!

Wednesday September 16 2026 19:58, from Eugene Subbotin -> Maxim Sokolsky:

 ES> Пересобери без strip и с санитайзером, из корня исходников:

Собрал из https://github.com/evs38/golded-plus/tree/unicode

просто отрываю любое сообщение:

 ==21936==ERROR: AddressSanitizer: stack-buffer-overflow on address
0x7ffc422a6c05 at pc 0x7f3a5922cdcb bp 0x7ffc422a5c10 sp 0x7ffc422a53c0
WRITE of size 1347 at 0x7ffc422a6c05 thread T0
  #0 0x7f3a5922cdca in __interceptor_strncpy
../../../../src/libsanitizer/asan/asan_interceptors.cc:476
  #1 0x7d7747 in strxcpy(char*, char const*, unsigned long)
/home/fido/src/golded-plus/goldlib/gall/gstrutil.cpp:769
  #2 0x7d7910 in strxcpy_utf8(char*, char const*, unsigned long)
/home/fido/src/golded-plus/goldlib/gall/gstrutil.cpp:816
  #3 0x66b494 in GMsgHeaderView::Paint()
/home/fido/src/golded-plus/golded3/geview.cpp:253
    #4 0x5f108e in Reader() /home/fido/src/golded-plus/golded3/geread.cpp:372
    #5 0x5801ea in main /home/fido/src/golded-plus/golded3/gemain.cpp:54
  #6 0x7f3a58410f44 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
    #7 0x408228  (/home/fido/src/golded-plus/build-asan/golded3/golded+0x408228)

Address 0x7ffc422a6c05 is located in stack of thread T0 at offset 2181 in frame
  #0 0x6688d1 in GMsgHeaderView::Paint()
/home/fido/src/golded-plus/golded3/geview.cpp:114

  This frame has 26 object(s):
    [32, 33) ``
    [48, 49) ``
    [64, 65) ``
    [80, 88) ``
    [112, 120) ``
    [144, 152) ``
    [176, 184) ``
    [208, 216) ``
    [240, 248) ``
    [272, 280) ``
    [304, 312) `zero` (line 321)
    [336, 344) ``
    [368, 376) ``
    [400, 408) `loc` (line 434)
    [432, 440) ``
    [464, 472) `loc2` (line 440)
    [496, 504) ``
    [528, 536) `id` (line 459)
    [560, 568) `url` (line 461)
    [592, 600) ``
    [624, 632) ``
    [656, 712) `tm` (line 268)
    [752, 808) `tm` (line 330)
    [848, 864) `buf1` (line 140)
    [880, 2181) `buf` (line 116)
  [2320, 6417) `buf2` (line 372) <== Memory access at offset 2181
partially underflows this variable
 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
../../../../src/libsanitizer/asan/asan_interceptors.cc:476 in __interceptor_strncpy

Best Regards, Nil
--- GoldED+/LNX 1.1.5-b20260305
 * Origin: I`m not AI but still can make mistakes, so double-check. (2:5015/46)
SEEN-BY: 5001/100 5015/46 5020/715 1146 4441
5030/1081 5051/44 5057/19 6035/66
@PATH: 5015/46 5020/715



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх