efl/src/bin
Marcel Hollerbach 66e2d71414 exactness: handbuild a new argv array instead of reassemling the new one
this commit removes the code that was changing argv values, and replaces
it with a new array. Which is absolutly fine, as the argv / argc values
are never accessed later on. Only the copies that have been passed to
efl_main or elm_main.

This resolves several issues:
1. the for loop is useless, every single array element that gets
   initialized with it, is some offset from argv[0] this may also crash
   when argv[i] - argv[opt_args] is bigger strlen argv[0].
2. The memcpy here is super dangerous, the dest array is not garanteed
   to have the same size as argv[0], this only works if the client
   application name is shorter than the name "exactness_recorder"
3. The memset here is absolutly wrong. There is again no garantee that
   the array has the expected size behind that, this was constantly
   overwriting the segment after the place where argv was stored, which
   was lukely enough on fedora always the environs, which deleted the
   couple first segments. (This was not causing any fuzz, since they
   have been sudo related env vars on the docker image). However, on
   arch this just crashed right away. On Ubuntu this overwrote DISPLAY,
   which resulted in the unability to launch the app.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11600
2020-03-25 22:12:56 +01:00
..
ecore_buffer meson: modify install path of bqmgr binary 2019-02-27 21:20:31 +01:00
ecore_con bin/eet and ecore_con: remove Evil.h when not necessary and include evil_private.h when necessary 2019-05-17 13:51:50 -04:00
ecore_evas exotic: remove left-overs from Exotic support 2019-12-04 12:21:28 -08:00
edje canvas 3d: remove all canvas3d features across efl. 2020-03-25 19:14:02 +09:00
eet bin/eet and ecore_con: remove Evil.h when not necessary and include evil_private.h when necessary 2019-05-17 13:51:50 -04:00
eeze efl: remove EFL_EO_API_SUPPORT macro 2019-03-18 12:13:59 +01:00
efl bin/efl and ecore: include evil_private.h when appropriate 2019-05-17 11:53:35 +01:00
efl_canvas_wl efl/wl: add docs for base compositor object 2020-03-13 12:17:22 -04:00
efl_js efl-js: JavaScript Eolian binding 2015-12-23 23:59:40 -02:00
efl_mono_msbuild_gen csharp: Add licensing information. 2019-10-24 10:10:56 -03:00
efreet eina - fix eina_strndup test passing 2020-01-15 19:23:44 +00:00
eina replace strndup with eina_strndup, remove strndup definition in evil and elm_test_dnd 2019-05-03 13:13:57 +01:00
eldbus ledbus - fix codegen to not conflict keys with eldbus inyternal 2019-01-09 18:57:22 +00:00
elementary efl_ui/image: implement efl.player::playback_loop property 2020-03-20 15:57:51 +01:00
elua build: fix macos build 2019-02-22 08:53:20 -05:00
embryo embryo: don't use sizeof() when strlen() is intended 2019-10-18 13:29:20 -04:00
eolian eolian_gen: utilize c_name instead of name for generation 2020-01-10 20:19:47 +01:00
eolian_cxx cxx: Add license to CXX bindings. 2019-10-24 10:40:16 -03:00
eolian_js eolian: rename param direction enum and fields for consistency 2019-09-26 16:56:13 +02:00
eolian_mono C#: Update C# code-generation to use a new ICustomMarshaler in some string usages that were leaking 2020-03-23 14:18:16 -03:00
ethumb here comes meson 2018-10-02 17:22:50 +02:00
ethumb_client here comes meson 2018-10-02 17:22:50 +02:00
exactness exactness: handbuild a new argv array instead of reassemling the new one 2020-03-25 22:12:56 +01:00