Enlightenment SVN schrieb:
> Modified: trunk/TMP/st/elementary/src/lib/elm_main.c
> ===================================================================
> --- trunk/TMP/st/elementary/src/lib/elm_main.c 2010-07-16 06:21:25 UTC
> (rev 50276)
> +++ trunk/TMP/st/elementary/src/lib/elm_main.c 2010-07-16 06:38:59 UTC
> (rev 50277)
> @@ -22,6 +22,32 @@
> static Elm_Version _version = { VMAJ, VMIN, VMIC, VREV };
> EAPI Elm_Version *elm_version = &_version;
>
> +Eina_Bool
> +_elm_dangerous_call_check(const char *call)
> +{
> + char buf[256];
> + const char *eval;
> +
> + snprintf(buf, "%i.%i.%i.%i", VMAJ, VMIN, VMIC, VREV);
Shouldn't the second argument be the buffer size, e.g. sizeof(buf)? Or
am I missing something?
Regards Peter
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel