View Issue Details

IDProjectCategoryView StatusLast Update
0004353unrealircdpublic2015-05-25 17:02
ReporterdgAssigned Tosyzop 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.4-alpha3 
Summary0004353: SIGSEGV in s_conf.c
DescriptionOccurs with AddressSanitizer.
config doesn't differ much from default. I haven't changed the link{} block, so the recent changes may be related?
git: efdefc4eb88c5754895b1750c25793516370f404, "mute non-SSL warning..." (latest as of submission)

link block:
link hub.mynet.com
{
        username *;
        hostname 1.2.3.4;
        bind-ip *;
        port 7029;
        hub *;
        password-connect "LiNk";
        password-receive "LiNk";
        class servers;
                options {
                        /* Note: You should not use autoconnect when linking services */
                        autoconnect;
                        ssl;
                        zip;
                };
};

 _ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.4-alpha2
                     using TRE 0.8.0 (BSD)
                     using OpenSSL 1.0.1f 6 Jan 2014

* Loading IRCd configuration ..
ASAN:SIGSEGV
=================================================================
==22908==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000070 (pc 0x7fbdc24d715f sp 0x7fff6706d730 bp 0x7fff6706db40 T0)
    #0 0x7fbdc24d715e in _test_link /home/user/unrealircd/src/s_conf.c:6306
    #1 0x7fbdc24ba819 in config_test /home/user/unrealircd/src/s_conf.c:2404
    #2 0x7fbdc24b5bbb in init_conf /home/user/unrealircd/src/s_conf.c:1654
    #3 0x7fbdc2495208 in main /home/user/unrealircd/src/ircd.c:1437
    #4 0x7fbdc04e0a3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f)
    #5 0x7fbdc2464cb8 in _start (/home/user/unrealircd/src/ircd+0x44cb8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/user/unrealircd/src/s_conf.c:6306 _test_link
==22908==ABORTING
TagsNo tags attached.
3rd party modules

Activities

dg

2015-05-25 16:24

reporter   ~0018342

Duplicate, please close. see #0004354

syzop

2015-05-25 17:01

administrator   ~0018343

Thanks for the report.

[unreal34 bcbc3fd] Fix crash with new block (that's 1..). Reported by dg (0004353).

Issue History

Date Modified Username Field Change
2015-05-25 16:22 dg New Issue
2015-05-25 16:24 dg Note Added: 0018342
2015-05-25 17:01 syzop Note Added: 0018343
2015-05-25 17:01 syzop Status new => resolved
2015-05-25 17:01 syzop Fixed in Version => 3.4-alpha3
2015-05-25 17:01 syzop Resolution open => fixed
2015-05-25 17:01 syzop Assigned To => syzop
2015-05-25 17:02 syzop Category documentation => ircd