The find_nearest_line function in addr2line in GNU Binutils 2.28 does not handle the case where the main file name and the directory name are both empty, triggering a NULL pointer dereference and an invalid write, and leading to a program crash.
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201801-01 | vendor advisory |
https://sourceware.org/bugzilla/show_bug.cgi?id=20891 | issue tracking patch |
http://www.securityfocus.com/bid/97275 | vdb entry |