-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Channel Topics und der TOPIC-Befehl werden nicht unterstützt #9
Labels
bug
Issue affects current expected functionality
Comments
alexbarton
changed the title
Test 1
Channel Topics und der TOPIC-Befehl werden nicht unterstützt
Apr 7, 2015
hillu
added a commit
to hillu/ngircd
that referenced
this issue
May 10, 2020
This crash was found using American Fuzzy Lop. Minimized input: PASS pwd1 0 0 SERVER ngircd.test.server3 0 SERVER 0 0 0 0 Stacktrace from gdb: #0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65 #1 0x000000000044ac19 in strlcpy (dst=0x7fffffffd120 "@", src=0x0, size=64) at strlcpy.c:59 ngircd#2 0x000000000040f8eb in Client_Search (Nick=0x0) at client.c:605 ngircd#3 0x0000000000440207 in IRC_SERVER (Client=0x47e6b0, Req=0x7fffffffd260) at irc-server.c:189 ngircd#4 0x0000000000448d77 in Handle_Request (Idx=<optimized out>, Req=0x7fffffffd260) at parse.c:544 ngircd#5 Parse_Request (Idx=7, Request=<optimized out>) at parse.c:267 ngircd#6 0x000000000041f668 in Handle_Buffer (Idx=7) at conn.c:1783 ngircd#7 0x00000000004215f9 in Read_Request (Idx=7) at conn.c:1616 ngircd#8 cb_clientserver (sock=7, what=<optimized out>) at conn.c:296 ngircd#9 0x0000000000425ad0 in io_docallback (fd=7, what=<optimized out>) at io.c:924 ngircd#10 io_dispatch_epoll (tv=<optimized out>) at io.c:497 ngircd#11 io_dispatch (tv=<optimized out>) at io.c:896 ngircd#12 0x000000000041eddd in Conn_Handler () at conn.c:748 ngircd#13 0x0000000000405499 in main (argc=<optimized out>, argv=<optimized out>) at ngircd.c:316
hillu
added a commit
to hillu/ngircd
that referenced
this issue
May 10, 2020
I'm not familiar enough with the ngircd codebase, so I am not entirely sure if `Client` is the right variable to pass to `KillClient` or if it should be `c` instead. This crash was found using American Fuzzy Lop. Build flags: ./configure --without-syslog --with-iconv CC=afl-clang Run mode: ngircd -n -f src/testsuite/ngircd-test1.conf Manually inimized input: PASS pwd1 0210-IRC+ Cd|t0:CHLMSX P SERVER ngircd.test.server3 :on :ngi 376 ngircd.test.server :ngircd.test.server3 NICK NickNa.e 1 ~ locst 1 + :e :ngircd.test.server3 JOIN #Channel :e.eEN :ngircd.test.server3 NICK NickName 1 ~ locst 1 + :e :ngircd.test.server3 NJOIN #Channel :@Nickname,,,ngircd.test.server3!d Stacktrace: #0 Client_ID (Client=0x0) at client.c:707 #1 0x000000000042570c in IRC_KillClient (Client=0x0, From=0x0, Nick=0x7fffffffd00c "ngircd.test.server3!d", Reason=<optimized out>) at irc.c:379 ngircd#2 0x000000000044050a in IRC_NJOIN (Client=0x47d6b0, Req=0x7fffffffd260) at irc-server.c:291 ngircd#3 0x0000000000447eb7 in Handle_Request (Idx=<optimized out>, Req=0x7fffffffd260) at parse.c:544 ngircd#4 Parse_Request (Idx=7, Request=<optimized out>) at parse.c:267 ngircd#5 0x000000000041e788 in Handle_Buffer (Idx=7) at conn.c:1817 ngircd#6 0x00000000004206f9 in Read_Request (Idx=7) at conn.c:1650 ngircd#7 cb_clientserver (sock=7, what=<optimized out>) at conn.c:297 ngircd#8 0x0000000000424bd0 in io_docallback (fd=7, what=<optimized out>) at io.c:924 ngircd#9 io_dispatch_epoll (tv=<optimized out>) at io.c:497 ngircd#10 io_dispatch (tv=<optimized out>) at io.c:896 ngircd#11 0x000000000041defd in Conn_Handler () at conn.c:766 ngircd#12 0x0000000000405489 in main (argc=<optimized out>, argv=<optimized out>) at ngircd.c:317
hillu
added a commit
to hillu/ngircd
that referenced
this issue
May 10, 2020
I'm not familiar enough with the ngircd codebase, so I am not entirely sure if `Client` is the right variable to pass to `KillClient` or if it should be `c` instead. This crash (segfault) was found using American Fuzzy Lop. Build flags: ./configure --without-syslog --with-iconv CC=afl-clang Run mode: ngircd -n -f src/testsuite/ngircd-test1.conf Manually inimized input: PASS pwd1 0210-IRC+ Cd|t0:CHLMSX P SERVER ngircd.test.server3 :on :ngi 376 ngircd.test.server :ngircd.test.server3 NICK NickNa.e 1 ~ locst 1 + :e :ngircd.test.server3 JOIN #Channel :e.eEN :ngircd.test.server3 NICK NickName 1 ~ locst 1 + :e :ngircd.test.server3 NJOIN #Channel :@Nickname,,,ngircd.test.server3!d Stacktrace: #0 Client_ID (Client=0x0) at client.c:707 #1 0x000000000042570c in IRC_KillClient (Client=0x0, From=0x0, Nick=0x7fffffffd00c "ngircd.test.server3!d", Reason=<optimized out>) at irc.c:379 ngircd#2 0x000000000044050a in IRC_NJOIN (Client=0x47d6b0, Req=0x7fffffffd260) at irc-server.c:291 ngircd#3 0x0000000000447eb7 in Handle_Request (Idx=<optimized out>, Req=0x7fffffffd260) at parse.c:544 ngircd#4 Parse_Request (Idx=7, Request=<optimized out>) at parse.c:267 ngircd#5 0x000000000041e788 in Handle_Buffer (Idx=7) at conn.c:1817 ngircd#6 0x00000000004206f9 in Read_Request (Idx=7) at conn.c:1650 ngircd#7 cb_clientserver (sock=7, what=<optimized out>) at conn.c:297 ngircd#8 0x0000000000424bd0 in io_docallback (fd=7, what=<optimized out>) at io.c:924 ngircd#9 io_dispatch_epoll (tv=<optimized out>) at io.c:497 ngircd#10 io_dispatch (tv=<optimized out>) at io.c:896 ngircd#11 0x000000000041defd in Conn_Handler () at conn.c:766 ngircd#12 0x0000000000405489 in main (argc=<optimized out>, argv=<optimized out>) at ngircd.c:317
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Report imported from Bugzilla #9)
Status CLOSED, severity normal, in component Daemon.
Reported in version unspecified on platform All.
Assigned to: Alexander Barton.
On 2002-02-24 04:48:48 +0100, Alexander Barton wrote:
On 2002-02-24 04:50:01 +0100, Alexander Barton wrote:
On 2002-02-28 02:24:11 +0100, Alexander Barton wrote:
The text was updated successfully, but these errors were encountered: