This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][gdb] Fix heap-buffer-overflow in child_path


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> 2019-06-17  Tom de Vries  <tdevries@suse.de>

Tom> 	PR gdb/24617
Tom> 	* common/pathstuff.c (child_path): Make sure parent_len > 0 before
Tom> 	accessing parent[parent_len - 1].

Thanks, this is ok.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]