Re: reading uninitialized buffer - Mailing list pgsql-patches

From Neil Conway
Subject Re: reading uninitialized buffer
Date
Msg-id 87smht76uo.fsf@mailbox.samurai.com
Whole thread Raw
In response to Re: reading uninitialized buffer  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: reading uninitialized buffer
List pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> OK, then *This* patch does it the way I think is clearest. Most of it
> is just reindenting.

Okay, I applied this patch, and made a few additional cleanups along
the way (the whole function and a couple other things don't need to be
declared in hba.h, for example). The incremental diff between what I
applied and what Andrew posted is attached.

BTW, I think the proper fix is to rewrite next_token(), which is
rather obfuscated at present. Anyone want to take a shot at this?

-Neil


Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ANALYZE patch for review
Next
From: Bruce Momjian
Date:
Subject: Re: C locale sort in src/tools/make_ctags