summaryrefslogtreecommitdiff
path: root/src/tools/git-external-diff
diff options
context:
space:
mode:
authorTom Lane2016-03-23 14:43:13 +0000
committerTom Lane2016-03-23 14:43:13 +0000
commit384dfbde19330541f7fb487f9352949aa06c812e (patch)
tree953af993af200021087f0b3adcd1569b75f6857b /src/tools/git-external-diff
parent8320c625d983f4cf4c8f453165502d7cf3aa7cf3 (diff)
Fix unsafe use of strtol() on a non-null-terminated Text datum.
jsonb_set() could produce wrong answers or incorrect error reports, or in the worst case even crash, when trying to convert a path-array element into an integer for use as an array subscript. Per report from Vitaly Burovoy. Back-patch to 9.5 where the faulty code was introduced (in commit c6947010ceb42143). Michael Paquier
Diffstat (limited to 'src/tools/git-external-diff')
0 files changed, 0 insertions, 0 deletions