If bidi_props is NULL, do not access this point.
@tizen_fix
Change-Id: I8ded9b3c5baec1be2c9ce1a9feb28f780fee41df
#endif
bidi_props = evas_bidi_paragraph_props_new();
+ if (!bidi_props) /* TIZEN ONLY(20160920): In review on upstrem */
+ {
+ len = -2;
+ goto cleanup;
+ }
bidi_props->direction = base_bidi;
/* Prep work for reordering */
{
Evas_BiDi_Paragraph_Props *ret;
ret = calloc(1, sizeof(Evas_BiDi_Paragraph_Props));
+ /* TIZEN ONLY(20160920): In review on upstrem */
+ if (!ret) return NULL;
+
ret->direction = EVAS_BIDI_PARAGRAPH_NEUTRAL;
ret->refcount = 1;