The target buffer was not large enough.
2013-03-02 Brian J. Lovin
* Fix initial value of the spinner on the first mouse move.
+
+2013-03-11 Tom Hacohen (TAsn)
+
+ * Entry: Fixed a bug with text appending.
* Fix elm_progressbar_pulse() to abort if pulsing not enabled
* Fix scroller acceleration bug. It was accelerated even it's scrolled after finishing the previous scroll. This happens with page scroll enabled.
* Fix initial value of the spinner on the first mouse move.
+ * Entry: Fixed a bug with text appending.
Elementary 1.7.5
char *tmpbuf;
size_t tlen;
tlen = strlen(text);
- tmpbuf = malloc(wd->append_text_len + 1);
+ /* FIXME: need that or we do copy unitialised data */
+ tmpbuf = calloc(1, tlen + sd->append_text_len -
+ sd->append_text_position + 1);
if (!tmpbuf)
{
ERR("Failed to allocate memory for entry's text %p", obj);