Pavel Labath
5ded90e22a
Fix wlan stats segfault (sf.net #3581218 )
...
Sometimes wlan related TEXT causes segment fault, and backtrace shows it's strtok in
iw_get_stats.
I read the code of wireless_tools, which says 'strtok not thread safe, not used in WE-12 and
later' for iw_get_stats. But it need to first check if has_range and then we_version_compiled.
In conky/src/linux.cc, iw_get_stats is called before iw_get_range_info, hence has_range is always
0 in iw_get_stats and strtok is used. I simply move iw_get_range_info before iw_get_stats and no
segfault up to now.
patch by ruikai
2012-11-01 15:04:08 +01:00
..
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-08-30 12:06:50 +02:00
2010-05-05 18:46:04 +02:00
2012-07-13 20:17:54 +02:00
2011-03-26 19:35:03 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2006-08-12 06:10:18 +00:00
2012-07-01 15:05:27 +02:00
2011-10-01 22:18:25 +02:00
2012-10-24 23:25:10 +02:00
2012-05-03 16:34:44 -07:00
2012-06-28 18:56:01 +02:00
2012-07-13 20:17:54 +02:00
2011-10-13 09:41:53 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-20 13:44:53 +02:00
2012-06-28 18:56:01 +02:00
2012-09-04 12:58:54 +02:00
2012-06-28 18:56:01 +02:00
2012-10-07 12:07:38 +02:00
2012-05-03 16:34:44 -07:00
2010-03-10 19:33:45 +01:00
2010-08-21 18:01:16 +02:00
2012-06-28 18:56:01 +02:00
2012-05-03 16:34:44 -07:00
2012-07-06 15:13:59 +02:00
2012-06-28 19:05:07 +02:00
2012-06-28 18:56:01 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-06 15:13:59 +02:00
2010-02-25 21:50:50 +01:00
2012-07-06 15:13:59 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-06-28 18:56:01 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-10-07 12:07:38 +02:00
2012-10-07 12:07:38 +02:00
2010-02-24 20:10:26 +01:00
2010-01-06 19:45:19 -08:00
2012-11-01 15:04:08 +01:00
2012-05-03 16:34:44 -07:00
2012-06-03 16:52:16 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-02-25 16:24:50 +01:00
2010-02-12 18:39:01 +01:00
2010-09-12 14:53:06 +02:00
2010-10-30 23:54:13 +02:00
2012-07-13 20:17:54 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2011-03-26 19:35:11 +01:00
2012-10-07 12:07:38 +02:00
2012-10-07 12:07:38 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-04-30 19:33:21 +02:00
2010-04-30 19:33:21 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-02-25 21:50:50 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-02-25 21:50:50 +01:00
2010-02-24 02:46:45 +01:00
2010-02-24 02:46:45 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2011-02-16 00:33:22 +01:00
2011-02-16 00:33:22 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-19 18:42:34 +02:00
2010-10-31 00:22:35 +02:00
2010-10-31 00:22:35 +02:00
2010-09-13 11:49:44 +02:00
2010-01-10 22:06:01 +01:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-10-03 22:45:13 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2010-08-29 15:19:46 +02:00
2010-08-29 15:19:46 +02:00
2010-08-25 21:26:14 +02:00
2010-08-25 21:26:14 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-06-28 19:04:31 +02:00
2012-06-28 19:04:31 +02:00
2012-05-03 14:06:50 -07:00
2012-05-03 14:06:50 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-07-13 20:17:54 +02:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00
2012-05-03 16:34:44 -07:00