[PATCH] Fix malloc allocation size sanity check

Tom Tromey tom@tromey.com
Wed Aug 12 19:31:31 GMT 2020


>>>>> "Luis" == Luis Machado via Gdb-patches <gdb-patches@sourceware.org> writes:

Luis> The following patch fixes this by making the length variable a size_t.

main_type::length is a ULONGEST, so maybe that would be better?

Tom


More information about the Gdb-patches mailing list