Forgive me if I'm pointing out a known issue, but I haven't noticed anything on 
the list about this yet...

I keep getting sent rawhide build errors for my project.  They only appear to 
occur on the avmv7hl platform.  It builds fine on all other architectures.


The errors are like:

sha1.cpp: In member function 'sha1::~sha1()':
sha1.cpp:34:1: error: pointer used after 'operator delete(void*, unsigned int)' 
[-Werror=use-after-free]
   34 | }
      | ^


The code for ~sha1() is:

sha1::~sha1() {
        delete pvt;
}

Line 34 is that closing bracket.


The code definitely isn't using the pointer after it's been deleted.  Could 
this be a compiler bug?

Thanks,

David
david.m...@firstworks.com
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to