Re: [PATCH 02/10] libiberty: Fix a crash in d_encoding()

2019-04-30 Thread Jeff Law
On 1/10/19 5:14 PM, Ben L wrote: > Hi all, > > First time emailing gcc-patches, so I'm sorry if I get any of this wrong or if > there's obvious errors repeated in my patches. AFAICT I should be sending each > change individually rather than as one bulk patch, so I'm sorry about the spam > too. >

[PATCH 02/10] libiberty: Fix a crash in d_encoding()

2019-01-10 Thread Ben L
e: Wed, 9 Jan 2019 22:05:16 + Subject: [PATCH 02/10] libiberty: Fix a crash in d_encoding(). Passing "_ZZaSFvOEES_" to cplus_demangle() without the DMGL_PARAMS flag causes a crash due to d_right (dc) returning NULL inside d_encoding(). Check for this case and handle it as an error rath