Marcel Hollerbach
64d6718734
embryo:use new bs static lib
2018-02-17 21:17:58 +01:00
Vincent Torri
4ae6eeb2cf
efl: remove _MSC_VER (Visual Studio macro) usage in source code
2018-01-04 12:59:47 -08:00
Vincent Torri
0cdd501246
EFL For WIN32: Replace HAVE_EVIL define with _WIN32
2017-09-22 05:06:10 -05:00
Carsten Haitzler
66f71d2ebc
embryo_cc - remove pointless test for null byte and space
...
space wins. the nul byte test is pointless. not a bug but pointless code
found by PVS studio
2017-07-29 11:36:33 +09:00
Carsten Haitzler
132c047c4d
embryo_cc - be sensible about realloc returns so analysers are happy
...
assingto tmp var then assign to real one after a check to analysers
dont complain.
2017-07-24 13:46:30 +09:00
Gustavo Sverzut Barbieri
8dc853f230
ifdef RUN_IN_TREE logic.
...
This logic is only needed for autotools, cmake will replicate the
installation file structure and thus eina_prefix works out of box.
2017-02-03 12:36:38 -02:00
Gustavo Sverzut Barbieri
a87ba1d6ad
cmake: add embryo.
2017-01-26 16:36:21 -02:00
JEONGHYUN YUN
078c4a9f11
embryo : Prevent buffer overflow in embryo_cc_sc2
...
Reviewers: jypark
Reviewed By: jypark
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4304
2016-09-20 15:31:16 +08:30
WooHyun Jung
98229bc5d6
embryo_cc: fix memory overflow in str
...
After for-loop i can have value 11. So the str should be longer than 11.
@fix
2016-09-12 10:09:32 +09:00
Carsten Haitzler
15e34ffe15
embryo_cc - fix coverity complaint about assert
...
fix assert using a strance assert syntax and go back to basic asserts.
fix coverity CID 1361224
@fix
2016-08-06 15:41:02 +09:00
Jean-Philippe Andre
3d16cdc67e
embro_cc: Shut up some coverity warning
...
CID 1039677 1039678 1039679
The expression's value does not depend on the operands; often,
this represents an inadvertent logic error.
In doarg: An operation with non-constant operands that
computes a result with constant value (CWE-569)
cell is defined as an int, not a long, so it can't be > INT_MAX.
2016-07-13 13:19:01 +09:00
Umesh Tanwar
9986ac387e
embryo_cc: Buffer overflow check.
...
Summary:
A string is copied to the array '&symbolname[0]' of size 32,
without checking it's length at first at embryo_cc_sc1.c:2101.
So, used assert to avoid possible overflow.
Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Reviewers: Hermet, cedric, raster
Reviewed By: raster
Subscribers: singh.amitesh, jpeg
Differential Revision: https://phab.enlightenment.org/D3602
2016-07-11 18:11:19 +09:00
Vincent Torri
4f242fb48a
efl: add binary mode to fdopen() calls
...
This allows better compatibility with Windows
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-05 21:05:23 +01:00
jiin.moon
4cb4a8c70a
embryo_cc: prevent memory curruption
...
Summary:
modified codes according to prevent result,
@fix
Reviewers: Jaehyun, Hermet, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2564
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-27 00:31:06 +02:00
woochan lee
648ccd3155
embryo_cc_sc2.c: prevent memory corruption.
...
Summary:
Modified code to following coverity result.
(overflow the memory access.)
@fix
Reviewers: raster, Hermet
Reviewed By: Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1893
2015-01-29 01:32:16 +09:00
woochan lee
1900e7785f
embryo: prevent useless assignment.
...
Summary: In the if case 's1[]19 = 0' state looks meaningless.
Reviewers: raster, Hermet, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1895
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-26 12:14:25 +01:00
Jean-Philippe Andre
e550b37453
Embryo: Use strncpy instead of strcpy in a few places
...
There are still lots of unsafe uses of strcpy, strcat, etc...
Dunno if they are relevant though. Also, assert() may be
compiled out at build time (release mode) so don't rely on it
for safety.
Fixes CID 1039593
2014-10-28 10:54:51 +09:00
Carsten Haitzler
0040e00373
embryo_cc - fix symbol write
...
this fixes an actual bug coverity found in embryo_cc
fix CID 1039650
2014-09-01 19:40:47 +09:00
Carsten Haitzler
0b7e3cf422
embryo_cc - fix possible buffer overrun
...
fix CID 1039594
2014-09-01 19:40:47 +09:00
Carsten Haitzler
d78703d0a8
embryo_cc - fix possible buffer overrun
...
fix CID 1039593
2014-09-01 19:40:47 +09:00
Carsten Haitzler
f440626cf0
embryo_cc - fix possible buffer overrun
...
fix CID 1039592
2014-09-01 19:40:46 +09:00
Carsten Haitzler
435a0dda37
embryo_cc - fix possible buffer overrun
...
fix CID 1039591
2014-09-01 19:40:46 +09:00
Carsten Haitzler
88fda07299
embryo_cc - fix possible buffer overrun
...
fix CID 1039590
2014-09-01 19:40:46 +09:00
Carsten Haitzler
09648f6cf1
embryo_cc - fix possible buffer overrun
...
fix CID 1039589
2014-09-01 19:40:46 +09:00
Carsten Haitzler
1f5aa3050b
embryo_cc - fix possible buffer overrun
...
fix CID 1039588
2014-09-01 19:40:46 +09:00
Carsten Haitzler
ea3d28d0c3
embryo_cc - fix possible buffer overrun
...
fix CID 1039587
2014-09-01 19:40:46 +09:00
Carsten Haitzler
1b74f19b60
embryo_cc - fix buffer overrun possibility
...
fix CID 1039586
2014-09-01 19:40:46 +09:00
Carsten Haitzler
6d694962c6
embryo_cc - fix coverity buffer complaint
...
this isnt an actual problem, but best it never comes around again. fix
CID 1039585
2014-09-01 19:40:46 +09:00
Carsten Haitzler
209962f763
embryo_cc - remove useless check against always-there array
...
fix CID 1039345
2014-08-27 17:08:16 +09:00
Carsten Haitzler
3f97906d70
embryo_cc - fix bunch of unchecked fseeks
...
this fixes CID 996788
2014-08-27 14:29:21 +09:00
Carsten Haitzler
9415a1d310
embryo_cc - fix usless array check
...
fix CID 1039346
2014-08-22 20:14:58 +09:00
Carsten Haitzler
14008d3111
embryo_cc - fix uselss array existance check
...
fix CID 1039345
2014-08-22 20:14:58 +09:00
Carsten Haitzler
32e5189952
embryo_cc - check fseeek return and complain
...
fixes CID 996788
2014-08-22 20:14:57 +09:00
Carsten Haitzler
bcbe9f621e
embryo_cc - check return value
...
this matches the check for fgetpos()
2014-08-14 19:11:06 +09:00
Carsten Haitzler
4e85b6b57b
embryo_cc - fix return value checking
...
fixes CID 1039712
2014-08-14 19:09:30 +09:00
Carsten Haitzler
2ee14e5997
embryo_cc - make assert clearer
...
this fixes coverity warning CID 1039730
2014-08-14 18:55:02 +09:00
Carsten Haitzler
970968daab
embyro-cc - fix coverity overruun issue
...
overrun in fatal msg access - fix CID 1039315
2014-08-13 17:14:53 +09:00
Carsten Haitzler
84e032a252
embryo_cc - coverity mem access issue - fix
...
this fixes CID 1039316 in case error num is beyond errmsg bounds
2014-08-13 17:13:12 +09:00
Carsten Haitzler
b0e9886635
embryo_cc - fix coverity buffer overrun
...
fixes CID 1039317
2014-08-13 16:19:17 +09:00
Cedric BAIL
5593964ead
embryo: force the insertion of a '/' in the path to be sure that file path make sense.
2014-01-24 08:19:47 +09:00
Carsten Haitzler
1c2da046dc
embryo_cc - remove trainling / from path for windows stat so it works
2014-01-23 08:45:44 +09:00
Carsten Haitzler
6991785df9
embryo - embryo_cc - argv parsing MIGHT leave str buf not nul terminated
...
should fix CID 1039726
2013-12-11 22:50:34 +09:00
Carsten Haitzler
f82c77843e
embryo - embryo_cc: fix buffer overrun warning
...
gcc warning was right. it's a pretty smart cookie too.
2013-11-09 10:15:35 +09:00
Daniel Willmann
3e5bd813d3
embryo: Fix a potential buffer overflow (klocwork id 321)
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-08-12 18:32:40 +01:00
Igor Murzov
079c1c6d9b
eet: Fix copy&paste issue
2013-07-11 00:52:36 +04:00
Eduardo Lima (Etrunko)
d3292a7ae9
Split .gitignore into multiple files
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
Stefan Schmidt
f254edbaed
embryo: Removed unused variable
2013-03-26 09:36:09 +00:00
Cedric BAIL
6e8fe3b03d
embryo: use eina_file_mkstemp.
2013-03-25 18:45:42 +09:00
Daniel Willmann
262f05782b
embryo_cc: Fix possible buffer overflow in setconfig()
...
Need to account for the space of the trailing '/' as well.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-18 12:46:26 +00:00
Henrique Dante de Almeida
ca8fc827a3
efl: Fixes to support compiling with CFLAGS=-Werror
...
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00