HomePhabricator

eina: add null check

Authored by eunue.

Description

eina: add null check

eina_unicode_utf8_next_get should return 0
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.

@fix

Change-Id: I2550b5796bda38304f602c93794e0d79f829fedb
Origin: upstream

Details

Committed
eunueApr 8 2015, 7:54 PM
Parents
rEFL31ed73e40edc: spec: Enable glib integration instead of g-main-loop.
Branches
Unknown
Tags
Unknown