[Tracker] Be more defensive about what libmagic sends back
- From: "Anders Rune Jensen" <anders iola dk>
- To: tracker-list gnome org
- Subject: [Tracker] Be more defensive about what libmagic sends back
- Date: Wed, 21 Feb 2007 15:27:28 +0100
Hi
Taking [0] on a null pointer is bad. This patch checks if the string returned from libmagic is null before searching for ';'.
--
Anders Rune Jensen
Attachment:
tracker-defensive-magic.diff
Description: Binary data
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]