https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91205
--- Comment #5 from Ricardo Ribalda ---
Thanks for the clarification!
(And now, after using C/gcc daily for over 18 years I realise that I have no
fucking clue about C and gcc :) )
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91205
--- Comment #3 from Ricardo Ribalda ---
(and thanks for your fast response :) )
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91205
--- Comment #2 from Ricardo Ribalda ---
Hi Jakub
I can agree that I do not like the code style and I have already send a patch
for that.
On the other hand is a bit frustrating that mangling a bit the struct, or using
memcpy is enough to make it
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ricardo at ribalda dot com
Target Milestone: ---
Current GNU inetutils tftpd breaks at runtime with current gcc (also tested
with 8.3).
The code throws a:
*** buffer overflow detected