1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-10-02 06:59:09 +00:00
conky/src
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
..
algebra.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
algebra.h Update version, copyright. 2012-05-03 16:34:44 -07:00
apcupsd.cc htons() is not needed when using getaddrinfo (sf.net #3055612) 2010-08-30 12:06:50 +02:00
apcupsd.h Bugfix: memory and thread-deleting problems 2010-05-05 18:46:04 +02:00
audacious.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
audacious.h Make audacious vars use the new update system 2011-03-26 19:35:03 +01:00
bmpx.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
bmpx.h Update version, copyright. 2012-05-03 16:34:44 -07:00
bsdapm.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
bsdapm.h Update version, copyright. 2012-05-03 16:34:44 -07:00
build.h.in - Comment out NetBSD/SanOS garbage 2006-08-12 06:10:18 +00:00
c++wrap.cc Remove -D_GNU_SOURCE and do not use GNU extensions 2012-07-01 15:05:27 +02:00
c++wrap.hh Emulate O_CLOEXEC on systems that don't support it 2011-10-01 22:18:25 +02:00
ccurl_thread.cc Fix curl-related crashes (sf.net #3386728) 2012-10-24 23:25:10 +02:00
ccurl_thread.h Update version, copyright. 2012-05-03 16:34:44 -07:00
CMakeLists.txt Preliminary import from 2.8.1 git release 2012-06-28 18:56:01 +02:00
cmus.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
cmus.h Cmus support added to conky 2011-10-13 09:41:53 +02:00
colours.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
colours.h Update version, copyright. 2012-05-03 16:34:44 -07:00
combine.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
combine.h Update version, copyright. 2012-05-03 16:34:44 -07:00
common.cc fix if_existing bugs 2012-07-20 13:44:53 +02:00
common.h Preliminary import from 2.8.1 git release 2012-06-28 18:56:01 +02:00
conky.cc Do not truncate non-human-readable numbers to 32bit (sf.net #3564560) 2012-09-04 12:58:54 +02:00
conky.h Preliminary import from 2.8.1 git release 2012-06-28 18:56:01 +02:00
core.cc MPD: add mpd_albumartist (sf.net #3532376) 2012-10-07 12:07:38 +02:00
core.h Update version, copyright. 2012-05-03 16:34:44 -07:00
data-source.cc Change setting setter call order, add cleanup function 2010-03-10 19:33:45 +01:00
data-source.hh gcc-4.5 fix (kinda) 2010-08-21 18:01:16 +02:00
diskio.cc Preliminary import from 2.8.1 git release 2012-06-28 18:56:01 +02:00
diskio.h Update version, copyright. 2012-05-03 16:34:44 -07:00
dragonfly.cc Proper handle missing statfs64 2012-07-06 15:13:59 +02:00
dragonfly.h Forgot the very new stuff (dragonfly.cc dragonfly.h) 2012-06-28 19:05:07 +02:00
entropy.cc Preliminary import from 2.8.1 git release 2012-06-28 18:56:01 +02:00
entropy.h Update version, copyright. 2012-05-03 16:34:44 -07:00
eve.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
eve.h Update version, copyright. 2012-05-03 16:34:44 -07:00
exec.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
exec.h Update version, copyright. 2012-05-03 16:34:44 -07:00
fonts.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
fonts.h Update version, copyright. 2012-05-03 16:34:44 -07:00
freebsd.cc Proper handle missing statfs64 2012-07-06 15:13:59 +02:00
freebsd.h Header housekeeping: remove unneeded extern "C", add modelines, add inclusion guards 2010-02-25 21:50:50 +01:00
fs.cc Proper handle missing statfs64 2012-07-06 15:13:59 +02:00
fs.h Update version, copyright. 2012-05-03 16:34:44 -07:00
hddtemp.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
hddtemp.h Update version, copyright. 2012-05-03 16:34:44 -07:00
i8k.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
i8k.h Update version, copyright. 2012-05-03 16:34:44 -07:00
i18n.h Update version, copyright. 2012-05-03 16:34:44 -07:00
ibm.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
ibm.h Update version, copyright. 2012-05-03 16:34:44 -07:00
ical.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
ical.h Update version, copyright. 2012-05-03 16:34:44 -07:00
iconv_tools.cc Preliminary import from 2.8.1 git release 2012-06-28 18:56:01 +02:00
iconv_tools.h Update version, copyright. 2012-05-03 16:34:44 -07:00
imlib2.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
imlib2.h Update version, copyright. 2012-05-03 16:34:44 -07:00
irc.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
irc.h Update version, copyright. 2012-05-03 16:34:44 -07:00
libmpdclient.cc MPD: add mpd_albumartist (sf.net #3532376) 2012-10-07 12:07:38 +02:00
libmpdclient.h MPD: add mpd_albumartist (sf.net #3532376) 2012-10-07 12:07:38 +02:00
libtcp-portmon.cc Revert "Use "using namespace std;" and remove all std::'s" 2010-02-24 20:10:26 +01:00
libtcp-portmon.h Update modelines and stuff. 2010-01-06 19:45:19 -08:00
linux.cc Fix wlan stats segfault (sf.net #3581218) 2012-11-01 15:04:08 +01:00
linux.h Update version, copyright. 2012-05-03 16:34:44 -07:00
llua.cc Fix `lua hooks are not being called' (sf.net #3501425) 2012-06-03 16:52:16 +02:00
llua.h Update version, copyright. 2012-05-03 16:34:44 -07:00
logging.h Update version, copyright. 2012-05-03 16:34:44 -07:00
lua-config.cc Change lua::stack_sentry semantics. Using it should be much simpler now 2010-02-25 16:24:50 +01:00
lua-config.hh export functions for accessing data sources to lua 2010-02-12 18:39:01 +01:00
luamm.cc Add a luaL_loadfile wrapper to lua::state 2010-09-12 14:53:06 +02:00
luamm.hh Add lock/unlock functions to lua::state 2010-10-30 23:54:13 +02:00
mail.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
mail.h Update version, copyright. 2012-05-03 16:34:44 -07:00
mboxscan.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
mboxscan.h Update version, copyright. 2012-05-03 16:34:44 -07:00
mixer.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
mixer.h Update version, copyright. 2012-05-03 16:34:44 -07:00
moc.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
moc.h Make moc vars use the new callback system 2011-03-26 19:35:11 +01:00
mpd.cc MPD: add mpd_albumartist (sf.net #3532376) 2012-10-07 12:07:38 +02:00
mpd.h MPD: add mpd_albumartist (sf.net #3532376) 2012-10-07 12:07:38 +02:00
mysql.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
mysql.h Update version, copyright. 2012-05-03 16:34:44 -07:00
nc.cc make out_to_ncurses a lua setting 2010-04-30 19:33:21 +02:00
nc.h make out_to_ncurses a lua setting 2010-04-30 19:33:21 +02:00
net_stat.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
net_stat.h Update version, copyright. 2012-05-03 16:34:44 -07:00
netbsd.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
netbsd.h Header housekeeping: remove unneeded extern "C", add modelines, add inclusion guards 2010-02-25 21:50:50 +01:00
nvidia.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
nvidia.h Update version, copyright. 2012-05-03 16:34:44 -07:00
openbsd.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
openbsd.h Header housekeeping: remove unneeded extern "C", add modelines, add inclusion guards 2010-02-25 21:50:50 +01:00
prioqueue.cc cpp-ify prioqueue.c and use free_and_zero in [p-r]*.cc where appropriate 2010-02-24 02:46:45 +01:00
prioqueue.h cpp-ify prioqueue.c and use free_and_zero in [p-r]*.cc where appropriate 2010-02-24 02:46:45 +01:00
proc.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
proc.h Update version, copyright. 2012-05-03 16:34:44 -07:00
prss.cc Make $rss use the new callback system 2011-02-16 00:33:22 +01:00
prss.h Make $rss use the new callback system 2011-02-16 00:33:22 +01:00
read_tcpip.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
read_tcpip.h Update version, copyright. 2012-05-03 16:34:44 -07:00
rss.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
rss.h Update version, copyright. 2012-05-03 16:34:44 -07:00
scroll.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
scroll.h Update version, copyright. 2012-05-03 16:34:44 -07:00
semaphore.hh Add a missing include 2012-07-19 18:42:34 +02:00
setting.cc Make setting getters/setters atomic. 2010-10-31 00:22:35 +02:00
setting.hh Make setting getters/setters atomic. 2010-10-31 00:22:35 +02:00
smapi.cc Build fix in smapi.cc 2010-09-13 11:49:44 +02:00
smapi.h fix smapi move to C++ 2010-01-10 22:06:01 +01:00
solaris.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
sony.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
sony.h Update version, copyright. 2012-05-03 16:34:44 -07:00
specials.cc Fix graph auto-scaling when the width is 0 2012-10-03 22:45:13 +02:00
specials.h Update version, copyright. 2012-05-03 16:34:44 -07:00
tailhead.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
tailhead.h Update version, copyright. 2012-05-03 16:34:44 -07:00
tcp-portmon.cc Make max_port_monitor_connections a lua setting 2010-08-29 15:19:46 +02:00
tcp-portmon.h Make max_port_monitor_connections a lua setting 2010-08-29 15:19:46 +02:00
temphelper.cc Make temperature_unit a lua setting 2010-08-25 21:26:14 +02:00
temphelper.h Make temperature_unit a lua setting 2010-08-25 21:26:14 +02:00
template.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
template.h Update version, copyright. 2012-05-03 16:34:44 -07:00
text_object.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
text_object.h Update version, copyright. 2012-05-03 16:34:44 -07:00
timeinfo.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
timeinfo.h Update version, copyright. 2012-05-03 16:34:44 -07:00
top.cc Usable state reached (use top.cc + minor changes) 2012-06-28 19:04:31 +02:00
top.h Usable state reached (use top.cc + minor changes) 2012-06-28 19:04:31 +02:00
update-cb.cc Fixed GCC 4.7.0 issues, double buffering 2012-05-03 14:06:50 -07:00
update-cb.hh Fixed GCC 4.7.0 issues, double buffering 2012-05-03 14:06:50 -07:00
user.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
user.h Update version, copyright. 2012-05-03 16:34:44 -07:00
users.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
users.h Update version, copyright. 2012-05-03 16:34:44 -07:00
weather.cc Use lround instead of std::lround 2012-07-13 20:17:54 +02:00
weather.h Update version, copyright. 2012-05-03 16:34:44 -07:00
x11.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
x11.h Update version, copyright. 2012-05-03 16:34:44 -07:00
xmms2.cc Update version, copyright. 2012-05-03 16:34:44 -07:00
xmms2.h Update version, copyright. 2012-05-03 16:34:44 -07:00