Skip to content

Crash append_line() #1762

@michaelortmann

Description

@michaelortmann
free(): invalid next size (fast)
Aborted (core dumped)
#8  0x00006517dbd73fe1 in n_free (ptr=0x65180095f060, file=file@entry=0x6517dbd98e28 "dcc.c", line=line@entry=940) at mem.c:443
        i = <optimized out>
#9  0x00006517dbd64aaa in append_line (idx=idx@entry=5, line=line@entry=0x6517dbdb6320 <buf> "    Server queue is at 1% (4 msgs)\r\n") at dcc.c:940
        l = <optimized out>
        p = 0x65180095ecf0
        q = 0x651800921890
        c = 0x65180089c340
#10 0x00006517dbd683bc in out_dcc_general (idx=5, buf=<optimized out>, x=<optimized out>) at dcc.c:980
        p = <optimized out>
        y = 0x6517dbdb6320 <buf> "    Server queue is at 1% (4 msgs)\r\n"
#11 0x00006517dbd69463 in dprint (idx=idx@entry=5, buf=buf@entry=0x7ffe427f9590 "    Server queue is at 1% (4 msgs)\n", len=<optimized out>) at dccutil.c:211
No locals.
#12 0x00006517dbd695eb in dprintf_eggdrop (idx=idx@entry=5, format=format@entry=0x79cb0695cd1a "    %s %d%% (%d msgs)\n") at dccutil.c:172
        buf = "    Server queue is at 1% (4 msgs)\n\000ted for 00:00)\n\000rs)\n\000\372Z\210\304\357\201j\t", '\000' <repeats 15 times>, "\301\003\000\000\000\000\000\000 \226\177B\376\177\000\000\301\003\000\000\000\000\000\000`\263\226\000\030e\000\000\000\000\000\000\000\200\212\354\003\000\000\000\000\000\000\000\340\226\177B\376\177\000\000\277u)\006\313y\000\000З\177B\376\177\000\000o\220&\006\313y\000\000Л\177B\001\000\000\000\006\000\000\000\000\000\000\000f\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\300s?\006\313y\000\000\377\377"...

nfree(p->msg);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions