Re: [HACKERS] chkpass with RANDOMIZE_ALLOCATED_MEMORY

2015-03-03 Thread Asif Naeem
Thank you Tom, Thank you Amit. Regards, Muhammad Asif Naeem On Wed, Mar 4, 2015 at 9:30 AM, Tom Lane wrote: > Amit Kapila writes: > > On Sat, Feb 14, 2015 at 10:26 PM, Tom Lane wrote: > >> It's not a false alarm, unfortunately, because chkpass_in actually does > >> give different results from

Re: [HACKERS] chkpass with RANDOMIZE_ALLOCATED_MEMORY

2015-03-03 Thread Tom Lane
Amit Kapila writes: > On Sat, Feb 14, 2015 at 10:26 PM, Tom Lane wrote: >> It's not a false alarm, unfortunately, because chkpass_in actually does >> give different results from one call to the next. We could fix the aspect >> of that involving failing to zero out unused bytes (which it appears

Re: [HACKERS] chkpass with RANDOMIZE_ALLOCATED_MEMORY

2015-03-03 Thread Amit Kapila
On Sat, Feb 14, 2015 at 10:26 PM, Tom Lane wrote: > > Asif Naeem writes: > > It is been observed on RANDOMIZE_ALLOCATED_MEMORY enabled PG95 build that > > chkpass is failing because of uninitialized memory and seems showing false > > alarm. > > It's not a false alarm, unfortunately, because chkpa

Re: [HACKERS] chkpass with RANDOMIZE_ALLOCATED_MEMORY

2015-02-14 Thread Tom Lane
Asif Naeem writes: > It is been observed on RANDOMIZE_ALLOCATED_MEMORY enabled PG95 build that > chkpass is failing because of uninitialized memory and seems showing false > alarm. It's not a false alarm, unfortunately, because chkpass_in actually does give different results from one call to the