storage_ldapvcard.c:442: bad call to free ?

Bug #1222909 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jabberd
New
Undecided
Unassigned

Bug Description

Source code is

                    free(group);

but

    char jid[2048], group[1024], name[2048]; // name is sn[1024] + ' ' + initials[1024]

Suggest remove call to free.

I found this bug with cppcheck, a static analysis checker.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.