bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

memory leak at ld parse_args


From: liuyingying (F)
Subject: memory leak at ld parse_args
Date: Tue, 3 Nov 2020 13:22:35 +0000

Use sanitizer for test and result shows that there are memory leak at parse_args function.

 

Test case:

 

#include <stdio.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}

 

 

binutils version 2.34

 

Checked on the source code, I did not see any free action on below shortopts, longopts, really_longopts variable.

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]