platform/upstream/libarchive.git
6 years agoBump to libarch 3.3.1 01/134901/1 tizen
DongHun Kwak [Tue, 20 Jun 2017 08:16:11 +0000 (17:16 +0900)]
Bump to libarch 3.3.1

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] version upgrade
[Cause & Measure] version upgrade
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I25fbc6d21306b2bbd617be25f850a7a2f30d9aa7
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoMerge branch 'tizen_base' of ssh://review.tizen.org:29418/platform/upstream/libarchiv... 99/134899/1
DongHun Kwak [Tue, 20 Jun 2017 08:12:29 +0000 (17:12 +0900)]
Merge branch 'tizen_base' of ssh://review.tizen.org:29418/platform/upstream/libarchive into tizen_base

Change-Id: I058d46ec55aa7e2f2ca9db3e8c1ecd7ba526619a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoRebase for libarchive 3.3.1 98/134898/1
Anas Nashif [Sun, 4 Nov 2012 03:28:03 +0000 (20:28 -0700)]
Rebase for libarchive 3.3.1

Change-Id: I2d1fe3ed1a95038ea9554b0266082147b978d177
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoImported Upstream version 3.3.1 90/134790/1 upstream/3.3.1
DongHun Kwak [Tue, 20 Jun 2017 05:06:59 +0000 (14:06 +0900)]
Imported Upstream version 3.3.1

Change-Id: I9c3de13e364430ac1236158419acf99f66e343c0
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoImported Upstream version 3.3.0 89/134789/1 upstream/3.3.0
DongHun Kwak [Tue, 20 Jun 2017 05:06:32 +0000 (14:06 +0900)]
Imported Upstream version 3.3.0

Change-Id: If5a3d9b0249ca1f79f8c430fd87bb2e6ae3f0e04
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoImported Upstream version 3.2.2 88/134788/1 upstream/3.2.2
DongHun Kwak [Tue, 20 Jun 2017 05:06:13 +0000 (14:06 +0900)]
Imported Upstream version 3.2.2

Change-Id: Id505d6a62d71781731fdf0a4d9139d31c3e3190c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoFail with negative lha->compsize in lha_read_file_header_1() Fixes a heap buffer... 83/134783/1 submit/tizen_base/20170620.051947
Martin Matuska [Thu, 19 Jan 2017 21:00:18 +0000 (22:00 +0100)]
Fail with negative lha->compsize in lha_read_file_header_1() Fixes a heap buffer overflow reported in Secunia SA74169

Change-Id: Ifd42aa5e066d5ac401c934406552ae0fa311730e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoFixes for Issue #745 and Issue #746 from Doran Moppert. 80/134780/1
DongHun Kwak [Tue, 20 Jun 2017 04:17:14 +0000 (13:17 +0900)]
Fixes for Issue #745 and Issue #746 from Doran Moppert.

Change-Id: If81d9c3507a0086e28b5c39bdc234735cc814dd1
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoIssue 747 (and others?): Avoid OOB read when parsing multiple long lines 73/134773/1
DongHun Kwak [Tue, 20 Jun 2017 04:00:28 +0000 (13:00 +0900)]
Issue 747 (and others?): Avoid OOB read when parsing multiple long lines

The mtree bidder needs to look several lines ahead
in the input.  It does this by extending the read-ahead
and parsing subsequent lines from the same growing buffer.
A bookkeeping error when extending the read-ahead would
sometimes lead it to significantly over-count the
size of the line being read.

Change-Id: I3f73c4eecfb3c86ef273666a7b1ed111ceb977fa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
6 years agoIssue #767: Buffer overflow printing a filename 72/134772/1
Tim Kientzle [Sun, 21 Aug 2016 17:51:43 +0000 (10:51 -0700)]
Issue #767: Buffer overflow printing a filename

The safe_fprintf function attempts to ensure clean output for an
arbitrary sequence of bytes by doing a trial conversion of the
multibyte characters to wide characters -- if the resulting wide
character is printable then we pass through the corresponding bytes
unaltered, otherwise, we convert them to C-style ASCII escapes.

The stack trace in Issue #767 suggest that the 20-byte buffer
was getting overflowed trying to format a non-printable multibyte
character.  This should only happen if there is a valid multibyte
character of more than 5 bytes that was unprintable.  (Each byte
would get expanded to a four-charcter octal-style escape of the form
"\123" resulting in >20 characters for the >5 byte multibyte character.)

I've not been able to reproduce this, but have expanded the conversion
buffer to 128 bytes on the belief that no multibyte character set
has a single character of more than 32 bytes.

Change-Id: I6ac04d0c27458f8953263a0ddee5aec0c1c54afa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoBump to libarchive 3.2.1 18/90718/2
DongHun Kwak [Tue, 4 Oct 2016 05:11:28 +0000 (14:11 +0900)]
Bump to libarchive 3.2.1

[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Bump to libarchive 3.2.1
[Cause & Measure] Bump to libarchive 3.2.1
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: Iaaf872632c7b4dc2c53559c6bdd448807f349eb3
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoMerge "Rebase for libarchive 3.2.1" into tizen_base
MyoungJune Park [Thu, 10 Nov 2016 01:30:12 +0000 (17:30 -0800)]
Merge "Rebase for libarchive 3.2.1" into tizen_base

7 years agoRebase for libarchive 3.2.1 16/90716/1
Anas Nashif [Sun, 4 Nov 2012 03:28:03 +0000 (20:28 -0700)]
Rebase for libarchive 3.2.1

Change-Id: I6575acdd557c5ddeab96cad360caaa6a0dbd5bd1
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.2.1 03/90003/1 upstream/3.2.1
DongHun Kwak [Wed, 28 Sep 2016 04:38:13 +0000 (13:38 +0900)]
Imported Upstream version 3.2.1

Change-Id: Ia3da21e5117593a6e6428408ad875e83e4ec9928
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 3.2.0 02/90002/1 upstream/3.2.0
DongHun Kwak [Wed, 28 Sep 2016 04:36:48 +0000 (13:36 +0900)]
Imported Upstream version 3.2.0

Change-Id: Id892662e3dfdd09858a706fe597654149585b5b6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
10 years agoUpdate to 3.1.2 15/8315/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0.m2_base accepted/tizen_3.0_base accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_generic accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2_base tizen_3.0_base tizen_3.0_ivi tizen_ivi_genivi accepted/tizen/20130912.094127 accepted/tizen/20130912.095736 accepted/tizen/20130912.112056 accepted/tizen/20130912.145837 accepted/tizen/20130912.191807 accepted/tizen/20130912.195909 accepted/tizen/3.0.m2/base/20170104.082042 accepted/tizen/3.0/base/20161028.103017 accepted/tizen/base/20151223.052323 accepted/tizen/ivi/genivi/20140131.022902 ivi_oct_m2 submit/tizen/20130816.115005 submit/tizen/20130912.075929 submit/tizen/20130912.090237 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_base/20151223.111112 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi_genivi/20140131.023255 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release tizen_4.0.m1_release
Anas Nashif [Thu, 15 Aug 2013 22:47:36 +0000 (18:47 -0400)]
Update to 3.1.2

10 years agoadd packaging
Anas Nashif [Sun, 4 Nov 2012 03:28:03 +0000 (20:28 -0700)]
add packaging

10 years agoresetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 22:56:23 +0000 (01:56 +0300)]
resetting manifest requested domain to floor

10 years agoSet license using %license
Anas Nashif [Sat, 11 May 2013 05:44:08 +0000 (01:44 -0400)]
Set license using %license

10 years agoadd packaging
Anas Nashif [Sun, 4 Nov 2012 03:28:03 +0000 (20:28 -0700)]
add packaging

10 years agoImported Upstream version 3.1.2 upstream/3.1.2
Anas Nashif [Thu, 15 Aug 2013 22:37:16 +0000 (18:37 -0400)]
Imported Upstream version 3.1.2

11 years agoImported Upstream version 2.8.3 upstream/2.8.3
Anas Nashif [Sun, 4 Nov 2012 03:27:04 +0000 (20:27 -0700)]
Imported Upstream version 2.8.3