[PATCH 0/1] get_header_tar.c: string termination fix

Alexey Fomenko ext-alexey.fomenko at nokia.com
Wed Oct 19 08:11:15 UTC 2011


Hello.

archival/libarchive/get_header_tar.c:
GET_OCTAL(a) sends to getOctal(a, strlen(a)). Afterwards getOctal terminates
argument string outside of array bounds.

This patch fixes termination to be within array bounds by decreasing index by 1

Alexey Fomenko (1):
  archival: get_header_tar OVERRUN_STATIC fix

 archival/libarchive/get_header_tar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.2.5



More information about the busybox mailing list