Fix improper memory access
commiteae48289c0848c5812644f20dbb1b39fb117a8f6
authorSergey Poznyakoff <gray@gnu.org>
Thu, 20 Dec 2018 15:53:40 +0000 (20 17:53 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Fri, 21 Dec 2018 11:54:11 +0000 (21 13:54 +0200)
tree792ca919b531e272f9dcf1654e69b299d3624c16
parent62c0c3a78076607b98c3b6199b6b0542609558b4
Fix improper memory access

Bug reported in
  http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00009.html

* src/transform.c (parse_transform_expr): Check if re is not empty
before accessing its last byte.
src/transform.c