platform/upstream/tcl.git
3 years ago[CVE-2016-9843] Avoid pre-decrement of pointer in big-endian CRC calculation. 71/256471/1
JinWang An [Mon, 5 Apr 2021 06:41:34 +0000 (15:41 +0900)]
[CVE-2016-9843] Avoid pre-decrement of pointer in big-endian CRC calculation.

There was a small optimization for PowerPCs to pre-increment a
pointer when accessing a word, instead of post-incrementing. This
required prefacing the loop with a decrement of the pointer,
possibly pointing before the object passed. This is not compliant
with the C standard, for which decrementing a pointer before its
allocated memory is undefined. When tested on a modern PowerPC
with a modern compiler, the optimization no longer has any effect.
Due to all that, and per the recommendation of a security audit of
the zlib code by Trail of Bits and TrustInSoft, in support of the
Mozilla Foundation, this "optimization" was removed, in order to
avoid the possibility of undefined behavior.

Change-Id: Ide8a89b834f0b2af170ab8725eccc3fad3a5d1bf
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
3 years ago[CVE-2016-9840] Remove offset pointer optimization in inftrees.c. 70/256470/1
JinWang An [Mon, 5 Apr 2021 06:29:20 +0000 (15:29 +0900)]
[CVE-2016-9840] Remove offset pointer optimization in inftrees.c.

inftrees.c was subtracting an offset from a pointer to an array,
in order to provide a pointer that allowed indexing starting at
the offset. This is not compliant with the C standard, for which
the behavior of a pointer decremented before its allocated memory
is undefined. Per the recommendation of a security audit of the
zlib code by Trail of Bits and TrustInSoft, in support of the
Mozilla Foundation, this tiny optimization was removed, in order
to avoid the possibility of undefined behavior.

Change-Id: I78ef752ab8ab47fcd96fbfa99744bafd55fa4e4e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
3 years ago[CVE-2016-9841] Use post-increment only in inffast.c. 66/256466/1
JinWang An [Mon, 5 Apr 2021 05:21:24 +0000 (14:21 +0900)]
[CVE-2016-9841] Use post-increment only in inffast.c.

An old inffast.c optimization turns out to not be optimal anymore
with modern compilers, and furthermore was not compliant with the
C standard, for which decrementing a pointer before its allocated
memory is undefined. Per the recommendation of a security audit of
the zlib code by Trail of Bits and TrustInSoft, in support of the
Mozilla Foundation, this "optimization" was removed, in order to
avoid the possibility of undefined behavior.

Change-Id: I67a6b30ca182d5286adcfa5ab7395eed6679ae01
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agofix .spec 36/141136/1 accepted/tizen_6.0_base_tool_hotfix accepted/tizen_unified sandbox/backup/tcl-8.6.1_20201218 tizen tizen_6.0_base_hotfix accepted/tizen/6.0/base/20201029.105510 accepted/tizen/6.0/base/tool/20201029.111454 accepted/tizen/6.0/base/tool/hotfix/20201030.124415 accepted/tizen/6.0/base/tool/hotfix/20201102.085525 accepted/tizen/base/20200403.032830 accepted/tizen/unified/20200131.050622 submit/tizen/20170728.080907 submit/tizen/20200130.075523 submit/tizen_6.0_base/20201029.184802 submit/tizen_6.0_base_hotfix/20201030.192502 submit/tizen_6.0_base_hotfix/20201102.162702 submit/tizen_base/20200402.112753 submit/tizen_base/20201207.055733 submit/tizen_base/20201208.051231 submit/tizen_base/20201208.051733 tizen_6.0.m2_release
MyoungJune Park [Fri, 28 Jul 2017 08:07:06 +0000 (17:07 +0900)]
fix .spec

Change-Id: I8b77eb82e9a85f35f66645ab87b430c91bdf8873
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
8 years agopackaging: define license macro if undefined 47/59547/1 sandbox/pcoval/tizen_2.3
Philippe Coval [Tue, 16 Feb 2016 10:42:49 +0000 (11:42 +0100)]
packaging: define license macro if undefined

This was useful for Tizen:2.3

Change-Id: Ia0d6ff2834c0c98c4427ad5855ebc0f451434599
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agopackaging: depend on the same release 43/59543/1
Philippe Coval [Tue, 16 Feb 2016 10:19:04 +0000 (11:19 +0100)]
packaging: depend on the same release

Change-Id: I8349dae82eb78541aae3a7a6590267fc8f1b22ee
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
9 years agoUpdate to 8.6.1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable sandbox/pcoval/tizen_2.4 tizen_3.0 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 tizen_3.0_ivi tizen_3.0_tv tizen_4.0 tizen_4.0_tv tizen_5.0 tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/3.0.m2/mobile/20170105.025601 accepted/tizen/3.0.m2/tv/20170105.025706 accepted/tizen/3.0.m2/wearable/20170105.025752 accepted/tizen/3.0/common/20161114.111907 accepted/tizen/3.0/ivi/20161011.065131 accepted/tizen/3.0/mobile/20161015.034128 accepted/tizen/3.0/tv/20161016.005724 accepted/tizen/3.0/wearable/20161015.084441 accepted/tizen/4.0/unified/20170816.013418 accepted/tizen/4.0/unified/20170828.221635 accepted/tizen/5.0/unified/20181102.025904 accepted/tizen/5.5/unified/20191031.013142 accepted/tizen/5.5/unified/mobile/hotfix/20201027.072156 accepted/tizen/5.5/unified/wearable/hotfix/20201027.104742 accepted/tizen/common/20150107.100753 accepted/tizen/ivi/20150113.060301 accepted/tizen/ivi/20160218.025756 accepted/tizen/mobile/20150114.130302 accepted/tizen/tv/20150112.114032 accepted/tizen/unified/20170309.040725 accepted/tizen/wearable/20150112.054920 submit/tizen_3.0.m2/20170104.093755 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000006 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100007 submit/tizen_5.0/20181101.000008 submit/tizen_5.5/20191031.000008 submit/tizen_5.5_mobile_hotfix/20201026.185108 submit/tizen_5.5_wearable_hotfix/20201026.184308 submit/tizen_common/20150106.101100 submit/tizen_ivi/20150108.111111 submit/tizen_ivi/20150108.222222 submit/tizen_ivi/20150108.333333 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000007 submit/tizen_mobile/20150109.000000 submit/tizen_mobile/20150112.000000 submit/tizen_tv/20150109.000000 submit/tizen_unified/20170308.100417 submit/tizen_wearable/20150109.000000 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.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release
Nicolas Guyomard [Mon, 10 Nov 2014 12:55:39 +0000 (13:55 +0100)]
Update to 8.6.1

Change-Id: I3f5070eaa6445a1ffc8718abc8e1b49d90d0253e
Signed-off-by: Nicolas Guyomard <nicolas.guyomard@open.eurogiciel.org>
9 years agoupdate to 8.6.0
Anas Nashif [Tue, 13 Aug 2013 12:57:08 +0000 (08:57 -0400)]
update to 8.6.0

Also fixed license and groups.

Change-Id: Iedc7b403fd1c6a61887d898a9eba8ab3ffee5789
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Sat, 29 Jun 2013 02:08:20 +0000 (05:08 +0300)]
resetting manifest requested domain to floor

9 years agoadd packaging
Anas Nashif [Wed, 7 Nov 2012 00:24:32 +0000 (16:24 -0800)]
add packaging

9 years agoadd packaging
Anas Nashif [Wed, 7 Nov 2012 00:24:19 +0000 (16:24 -0800)]
add packaging

9 years agopath fix
Anas Nashif [Wed, 7 Nov 2012 00:23:17 +0000 (16:23 -0800)]
path fix

9 years agopackaging: Initial Packaging
Anas Nashif [Wed, 7 Nov 2012 00:22:17 +0000 (16:22 -0800)]
packaging: Initial Packaging

Change-Id: Ib30129c9115f4136bcd10bc191630ba2d0f3699a
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoImported Upstream version 8.6.1 upstream/8.6.1
Nicolas Guyomard [Mon, 10 Nov 2014 12:27:47 +0000 (13:27 +0100)]
Imported Upstream version 8.6.1

10 years agoImported Upstream version 8.6.0 sandbox/pcoval/upstream upstream/8.6.0
Anas Nashif [Tue, 13 Aug 2013 12:49:33 +0000 (08:49 -0400)]
Imported Upstream version 8.6.0

11 years agoImported Upstream version 8.5.11 upstream/8.5.11
Anas Nashif [Wed, 7 Nov 2012 00:22:15 +0000 (16:22 -0800)]
Imported Upstream version 8.5.11