[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/28210] New: A potential bug of null pointer dereference
From: |
1157401338 at qq dot com |
Subject: |
[Bug binutils/28210] New: A potential bug of null pointer dereference |
Date: |
Sun, 08 Aug 2021 04:57:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28210
Bug ID: 28210
Summary: A potential bug of null pointer dereference
Product: binutils
Version: 2.24
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: 1157401338 at qq dot com
Target Milestone: ---
Created attachment 13602
--> https://sourceware.org/bugzilla/attachment.cgi?id=13602&action=edit
NULL Pointer Dereference in file make-relative-prefix.c,defination of
save_string
In file binutils-2.24/libiberty/make-relative-prefix.c,defination of
save_string,line 109
Function malloc may fail to allocate memory,so result may be a null pointer and
then copy data to this pointer can be null.there should check whether result is
null pointer or not.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/28210] New: A potential bug of null pointer dereference,
1157401338 at qq dot com <=