[COMMITTERS] pgsql: Fix possible read past end of string in to_timestamp().

2016-05-06 Thread Tom Lane
Fix possible read past end of string in to_timestamp(). to_timestamp() handles the TH/th format codes by advancing over two input characters, whatever those are. It failed to notice whether there were two characters available to be skipped, making it possible to advance the pointer past the end o

[COMMITTERS] pgsql: Fix possible read past end of string in to_timestamp().

2016-05-06 Thread Tom Lane
Fix possible read past end of string in to_timestamp(). to_timestamp() handles the TH/th format codes by advancing over two input characters, whatever those are. It failed to notice whether there were two characters available to be skipped, making it possible to advance the pointer past the end o

[COMMITTERS] pgsql: Fix possible read past end of string in to_timestamp().

2016-05-06 Thread Tom Lane
Fix possible read past end of string in to_timestamp(). to_timestamp() handles the TH/th format codes by advancing over two input characters, whatever those are. It failed to notice whether there were two characters available to be skipped, making it possible to advance the pointer past the end o

[COMMITTERS] pgsql: Fix possible read past end of string in to_timestamp().

2016-05-06 Thread Tom Lane
Fix possible read past end of string in to_timestamp(). to_timestamp() handles the TH/th format codes by advancing over two input characters, whatever those are. It failed to notice whether there were two characters available to be skipped, making it possible to advance the pointer past the end o

[COMMITTERS] pgsql: Fix possible read past end of string in to_timestamp().

2016-05-06 Thread Tom Lane
Fix possible read past end of string in to_timestamp(). to_timestamp() handles the TH/th format codes by advancing over two input characters, whatever those are. It failed to notice whether there were two characters available to be skipped, making it possible to advance the pointer past the end o

[COMMITTERS] pgsql: Fix possible read past end of string in to_timestamp().

2016-05-06 Thread Tom Lane
Fix possible read past end of string in to_timestamp(). to_timestamp() handles the TH/th format codes by advancing over two input characters, whatever those are. It failed to notice whether there were two characters available to be skipped, making it possible to advance the pointer past the end o