summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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>
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>
MyoungJune Park [Thu, 10 Nov 2016 01:30:12 +0000 (17:30 -0800)]
Merge "Rebase for libarchive 3.2.1" into tizen_base
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>
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>
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>
Anas Nashif [Thu, 15 Aug 2013 22:47:36 +0000 (18:47 -0400)]
Update to 3.1.2
Anas Nashif [Sun, 4 Nov 2012 03:28:03 +0000 (20:28 -0700)]
add packaging
Alexandru Cornea [Fri, 28 Jun 2013 22:56:23 +0000 (01:56 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Sat, 11 May 2013 05:44:08 +0000 (01:44 -0400)]
Set license using %license
Anas Nashif [Sun, 4 Nov 2012 03:28:03 +0000 (20:28 -0700)]
add packaging
Anas Nashif [Thu, 15 Aug 2013 22:37:16 +0000 (18:37 -0400)]
Imported Upstream version 3.1.2
Anas Nashif [Sun, 4 Nov 2012 03:27:04 +0000 (20:27 -0700)]
Imported Upstream version 2.8.3