Commit Graph

42 Commits

Author SHA1 Message Date
Daniel Willmann 1d8f06511c eet_cipher: Fix initialization of opened variable
In the error case we 'goto' the error path directly without passing
through the declaration and initialization of the variable.

This doesn't work so move the declaration/initialization to the start.
See this example (compile with -Wall for the warning):

-----
 #include <stdio.h>

 int main(void)
 {
   goto bar;

   int i = 15;

 bar:
   printf("Foo: %i\n", i);

   return 0;
 }
----

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-19 17:00:33 +00:00
Cedric Bail 3fe8098e9c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
Christopher Michael d33ddb5af9 Fix possible memory leak in eet_data_image_header_decode_cipher.
Dynamic memory stored in 'deciphered_d' allocated through function
'eet_decipher' at line 1385 can be lost at line 1408. Also there are 3
similar errors on line(s) 1427, 1430, 1450.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 13:14:20 +00:00
Mike Blumenkrantz f9d80e493a add eet_data_descriptor_name_get()
SVN revision: 83546
2013-02-01 10:59:23 +00:00
Aharon Hillel dad5336272 eet: eet_connection.c fixed memory allocation Changed the usage of alloca() to malloc() to support big-mem-alloc This was required to support Clouseau
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 83010
2013-01-20 08:43:29 +00:00
Gustavo Sverzut Barbieri 3701b41ac9 fix compile warnings.
the NULL is just to shut gcc being stupid.


SVN revision: 82774
2013-01-14 18:34:23 +00:00
Cedric BAIL 55bc6a16fb efl: fix endianness issue.
Patch by Albin Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 82743
2013-01-14 03:54:47 +00:00
Lucas De Marchi 06ff74834f efl: remove checks for socket.h, net/*, arpa/*
SVN revision: 82585
2013-01-10 20:26:02 +00:00
Lucas De Marchi db395ef7eb efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard.



SVN revision: 82577
2013-01-10 20:25:26 +00:00
Gustavo Sverzut Barbieri 0a2d116119 efl: eina_alloca.h to simplify alloca() usage.
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/



SVN revision: 82082
2013-01-03 15:10:34 +00:00
Cedric BAIL 59ebafcb85 efl: rename eet_map to eet_mmap.
SVN revision: 82051
2013-01-03 09:18:05 +00:00
Cedric BAIL 42b877cace efl: fix potential segv.
SVN revision: 81972
2013-01-02 06:21:43 +00:00
Cedric BAIL 663d56e498 efl: add eet_map and use it.
SVN revision: 81970
2013-01-02 02:46:05 +00:00
Gustavo Sverzut Barbieri 66ebe6a3f8 efl: remove checks for EINA_HAVE_THREADS
SVN revision: 81937
2012-12-31 17:31:17 +00:00
Gustavo Sverzut Barbieri 2608f68571 efl/docs: clean-up and make it more uniform.
now unified docs are bit more uniform in their start pages, overall
improved but much to do :-(



SVN revision: 81851
2012-12-28 23:26:05 +00:00
Jonas M. Gastal 22a6966653 efl: Created Eet group and added existing Eet groups to it.
SVN revision: 81289
2012-12-18 18:38:19 +00:00
Jonas M. Gastal d41d76ca38 efl: Modified section names as doxygen reuses titles for same named sections in different pages.
SVN revision: 81279
2012-12-18 16:18:28 +00:00
Jonas M. Gastal 93cdccf144 efl: Give different names for example pages in different libs.
SVN revision: 81278
2012-12-18 16:18:24 +00:00
Jonas M. Gastal 65a7188905 efl: Unifying authors page.
SVN revision: 81277
2012-12-18 16:18:19 +00:00
Jonas M. Gastal 6ecaa33f22 efl: Adding a unified main page that links to the "mainpage" of libs.
SVN revision: 81273
2012-12-18 16:12:56 +00:00
Daniel Willmann e9bd0b7a27 eet: Fix possible buffer overflow in functions relying on EET_T_LAST.
Issue reported by Klocwork. Backport, ChangeLog, NEWS included

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80767
2012-12-12 14:49:49 +00:00
Cedric BAIL 0d1b29e5e1 eet: fix memory leak with OpenSSL.
Reported by Leandro Santiago <leandrosansilva@gmail.com>.


SVN revision: 80648
2012-12-11 11:52:53 +00:00
Gustavo Sverzut Barbieri 511d8e8672 efl/eet: bumped requirement for gnutls >= 2.11 thus remove legacy code.
SVN revision: 80287
2012-12-05 23:44:45 +00:00
Daniel Zaoui 5f875d92f0 Increased MAX_MSG_SIZE for support of Clouseau - needed for next
Clouseau commit (screenshots)

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79744
2012-11-27 14:36:12 +00:00
Christopher Michael 10567cca05 Add missing UNLOCK_CACHE in eet_open function.
Change-Id: I79db6bedf49c27499f3caa63d04dc6bb3ecfee60

SVN revision: 79290
2012-11-14 11:52:25 +00:00
Vincent Torri 109efca5cb merge: move lz4 to src/static_libs/lz4 (same will hold for evas' linebreak), ignore++--
SVN revision: 78807
2012-11-01 16:58:56 +00:00
Vincent Torri 58a9a0ad57 merge: don't use recursive subdirs. Compilation should be faster.
Please check.

note1: Only lib and bin for now, but should be extended to other stuff
note2: distcheck does not work because eo_suite is failing.


SVN revision: 78758
2012-11-01 12:56:52 +00:00
Cedric BAIL cf8a61527f efl: backport r78689.
SVN revision: 78690
2012-10-31 05:58:50 +00:00
Vincent Torri 124e0d4afd merge: add a holdall variable
SVN revision: 78503
2012-10-26 06:57:11 +00:00
Vincent Torri aac3e95ccf merge: -Wl,--enable-auto-import is useless with recent versions of gcc on Windows
SVN revision: 78495
2012-10-25 22:01:28 +00:00
Vincent Torri 77d90bd45e merge: pass directly to the preprocessor the Windows macro instead of using autotools
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Zbigniew Kosinski 2499d34087 From: Zbigniew Kosinski <z.kosinski@samsung.com>
Subject: Re: [E-devel] Add Null checking routine

I prepared patch - check eet file pointer parameter in
eet_identity_signature, eet_identity_x509 and eet_identity_sha1 functions.
Please take a look at attached files.



SVN revision: 77977
2012-10-15 06:26:48 +00:00
Carsten Haitzler d6b7e8f740 well ok - always on then, no option, until 2.0
SVN revision: 77843
2012-10-11 03:04:57 +00:00
Gustavo Sverzut Barbieri f963219626 efl: remove option to enable old EET format.
It's disabled. If user wants to enable, give
-DEET_OLD_EET_FILE_FORMAT=1 to CFLAGS.



SVN revision: 77790
2012-10-10 19:30:17 +00:00
Vincent Torri 7fe3d35994 merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Daniel Juyung Seo 91f0f4ee8e backport r77494 and r77495.
SVN revision: 77498
2012-10-05 06:35:06 +00:00
Vincent Torri 079b6c94c3 Eet: Update lz4 code to rev. 77. This fix compilation on NetBSD 5.0
SVN revision: 77449
2012-10-04 17:25:48 +00:00
Carsten Haitzler 36ef0cdc92 and esnure we have all the right include paths.
SVN revision: 77121
2012-09-27 04:08:48 +00:00
Carsten Haitzler e0e6fd9201 port null check over to efl tree.
SVN revision: 77118
2012-09-27 03:56:20 +00:00
Carsten Haitzler be48742a4e port eet fix to efl tree
SVN revision: 76944
2012-09-21 08:43:49 +00:00
Vincent Torri ab144cb474 merge: fix compilation when no EFL is installed...
tested on linux and windows.
And disable valgrind as there's a link problem in eet binary,
i'll check that later


SVN revision: 76938
2012-09-21 08:15:58 +00:00
Vincent Torri 8abaff3bdf merge: add eet
SVN revision: 76768
2012-09-17 16:35:38 +00:00