[Bug binutils/28718] debug.c: Stack-overflow in debug_write_type

2022-01-07 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28718

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0e9f1c04b9572920c7f940203a67d5af3f6c19f6

commit 0e9f1c04b9572920c7f940203a67d5af3f6c19f6
Author: Pavel Mayorov 
Date:   Fri Jan 7 12:34:37 2022 +

Revert previous delta to debug.c.  Replace with patch to reject indirect
types that point to indirect types.

PR 28718
* dwarf.c: Revert previous delta.
(debug_get_real_type): Reject indirect types that point to
indirect types.
(debug_get_type_name, debug_get_type_size, debug_write_type):
Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/28718] debug.c: Stack-overflow in debug_write_type

2022-01-07 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28718

--- Comment #5 from Nick Clifton  ---
(In reply to Pavel Mayorov from comment #3)
> I submitted the patch for review the same day
> (https://sourceware.org/pipermail/binutils/2021-December/118976.html)... but
> still haven't received any response.

Well I apologise for that.  I must have missed it.

I looked over your patch, and it is a much better solution than the one that I
had designed, so I have gone ahead and reverted my patch and applied yours
instead.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.