platform/upstream/m4.git
3 years ago[CVE-2018-17942] vasnprintf: Fix heap memory overrun bug. 48/254248/1
JinWang An [Thu, 25 Feb 2021 04:06:17 +0000 (13:06 +0900)]
[CVE-2018-17942] vasnprintf: Fix heap memory overrun bug.

Reported by Ben Pfaff <blp@cs.stanford.edu> in
<https://lists.gnu.org/archive/html/bug-gnulib/2018-09/msg00107.html>.

* lib/vasnprintf.c (convert_to_decimal): Allocate one more byte of
memory.
* tests/test-vasnprintf.c (test_function): Add another test.

Change-Id: Ia26b9cf4ddc7fb15856dd283ad32d50e7204e046
Signed-off-by: JinWang An <jinwang.an@samsung.com>
4 years agoMerge remote-tracking branch 'origin/sandbox/mkashkarov/tizen_6.0_build' into tizen_base 13/221513/1 accepted/tizen_6.0_base accepted/tizen_6.0_base_tool accepted/tizen_6.0_base_tool_hotfix tizen_6.0_base tizen_6.0_base_hotfix accepted/tizen/6.0/base/20201029.111037 accepted/tizen/6.0/base/20230713.142939 accepted/tizen/6.0/base/tool/20201029.112303 accepted/tizen/6.0/base/tool/hotfix/20201030.125056 accepted/tizen/6.0/base/tool/hotfix/20201102.090423 accepted/tizen/base/20200113.070343 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_base/20200109.182200 tizen_6.0.m2_release
yan11.meng [Sat, 4 Jan 2020 14:19:32 +0000 (23:19 +0900)]
Merge remote-tracking branch 'origin/sandbox/mkashkarov/tizen_6.0_build' into tizen_base

Change-Id: I149d722c1eb357f42b5916b75131c791b9a66125

4 years agofflush: be more paranoid about libio.h change sandbox/mkashkarov/tizen_6.0_build
Paul Eggert [Fri, 9 Mar 2018 00:42:45 +0000 (16:42 -0800)]
fflush: be more paranoid about libio.h change

Suggested by Eli Zaretskii in:
https://lists.gnu.org/r/emacs-devel/2018-03/msg00270.html
* lib/fbufmode.c (fbufmode):
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
(disable_seek_optimization, rpl_fflush):
* lib/fpending.c (__fpending):
* lib/fpurge.c (fpurge):
* lib/freadable.c (freadable):
* lib/freadahead.c (freadahead):
* lib/freading.c (freading):
* lib/freadptr.c (freadptr):
* lib/freadseek.c (freadptrinc):
* lib/fseeko.c (fseeko):
* lib/fseterr.c (fseterr):
* lib/fwritable.c (fwritable):
* lib/fwriting.c (fwriting):
Look at _IO_ftrylockfile as well as at _IO_EOF_SEEN.

(cherry picked from gnulib commit 74d9d6a293d7462dea8f83e7fc5ac792e956a0ad)

4 years agofflush: adjust to glibc 2.28 libio.h removal
Paul Eggert [Mon, 5 Mar 2018 18:56:29 +0000 (10:56 -0800)]
fflush: adjust to glibc 2.28 libio.h removal

Problem reported by Daniel P. BerrangĂ© in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
* lib/fbufmode.c (fbufmode):
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
(disable_seek_optimization, rpl_fflush):
* lib/fpending.c (__fpending):
* lib/fpurge.c (fpurge):
* lib/freadable.c (freadable):
* lib/freadahead.c (freadahead):
* lib/freading.c (freading):
* lib/freadptr.c (freadptr):
* lib/freadseek.c (freadptrinc):
* lib/fseeko.c (fseeko):
* lib/fseterr.c (fseterr):
* lib/fwritable.c (fwritable):
* lib/fwriting.c (fwriting):
Check _IO_EOF_SEEN instead of _IO_ftrylockfile.
* lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]:
Define if not already defined.

(cherry picked from gnulib commit 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e)

8 years agopackaging: Set up stack overflow checks values 35/87035/1 accepted/tizen_4.0_base accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix tizen_4.0_base tizen_4.0_tv tizen_5.0_base tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv accepted/tizen/4.0/base/20170811.092907 accepted/tizen/4.0/base/20170828.221222 accepted/tizen/5.0/base/20181101.090816 accepted/tizen/5.5/base/20191030.083347 accepted/tizen/5.5/base/mobile/hotfix/20201023.085100 accepted/tizen/5.5/base/wearable/hotfix/20201023.081417 accepted/tizen/base/20161104.200113 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_5.0_base/20181101.000001 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_base/20161101.014614 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
Slava Barinov [Wed, 4 May 2016 12:12:04 +0000 (15:12 +0300)]
packaging: Set up stack overflow checks values

The check dies because ASan captures stack overflow and configure does
not expect the output.

Change-Id: I6136a68affbae91c89b93ad7b12c58ed00551782
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
9 years agopackaging: Bump to version 1.4.17 accepted/tizen_3.0.m2_base accepted/tizen_3.0_base accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable sandbox/jinjingx/bump-1.4.17 tizen 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_base tizen_3.0_base tizen_3.0_ivi accepted/tizen/3.0.m2/base/20170104.082019 accepted/tizen/3.0/base/20161028.102929 accepted/tizen/base/20151223.052301 accepted/tizen/common/20150114.170638 accepted/tizen/ivi/20150117.065509 accepted/tizen/mobile/20150224.002819 accepted/tizen/tv/20150324.014600 accepted/tizen/wearable/20150129.005749 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_base/20151223.111112 submit/tizen_common/20150114.153630 submit/tizen_common/20150114.154509 submit/tizen_common/20150114.170316 submit/tizen_ivi/20150116.222222 submit/tizen_ivi/20150116.444444 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000001 submit/tizen_tv/20150130.050505 submit/tizen_tv/20150320.000002 submit/tizen_tv/20150323.050640 submit/tizen_wearable/20150127.000001 submit/tizen_wearable/20150128.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
Li Jinjing [Sun, 26 Oct 2014 15:05:32 +0000 (23:05 +0800)]
packaging: Bump to version 1.4.17

Change-Id: I6245de189d2636c77f5b4bee5bb51f9ee07a8beb
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
10 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 17:31:56 +0000 (20:31 +0300)]
resetting manifest requested domain to floor

10 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 19:11:33 +0000 (11:11 -0800)]
add packaging

10 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 19:11:08 +0000 (11:11 -0800)]
add packaging

10 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 19:10:41 +0000 (11:10 -0800)]
add packaging

10 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 19:10:15 +0000 (11:10 -0800)]
add packaging

10 years agoImported Upstream version 1.4.17 sandbox/jinjingx/upstream upstream/1.4.17
Li Jinjing [Sun, 26 Oct 2014 14:28:15 +0000 (22:28 +0800)]
Imported Upstream version 1.4.17

12 years agoImported Upstream version 1.4.16 upstream/1.4.16
Anas Nashif [Mon, 5 Nov 2012 19:10:13 +0000 (11:10 -0800)]
Imported Upstream version 1.4.16