fix lastIndexOf potentially reading invalid memory
commitad49f2a90401d47877d4246df8f51d81a5f3084c
authorBenjamin Otte <otte@gnome.org>
Thu, 23 Oct 2008 20:09:52 +0000 (23 22:09 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 23 Oct 2008 20:09:52 +0000 (23 22:09 +0200)
treeef1185ae2c26a9b248518b4734324350c2ef1c95
parent680e77e39af08b7066c471550633cb362f201924
fix lastIndexOf potentially reading invalid memory

g_utf8_offset_to_pointer() requires a valid offset
swfdec/swfdec_as_string.c