summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/ThermalZone.hs
diff options
context:
space:
mode:
authornand <git@nand.wakku.to>2014-02-09 01:11:13 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2014-02-15 12:44:57 +0100
commitc28cbcf859d303483ed6def8a113ed3b60375eb7 (patch)
tree0587a551c8fa40fbdfd8df3613739d807e0d8a54 /src/Plugins/Monitors/ThermalZone.hs
parent88ccc6fa73aaad98ee39587d16a2998b945869f1 (diff)
downloadxmobar-c28cbcf859d303483ed6def8a113ed3b60375eb7.tar.gz
xmobar-c28cbcf859d303483ed6def8a113ed3b60375eb7.tar.bz2
Fix runaway memory leak when expanding invalid tags, and remove error
Don't recursively parse on the case of an error. Also, in the case of an error, instead of replacing by an error message, replace by the tag itself to prevent mangling strings that legitimately include < and > characters, for example song titles when using the MPD plugin. I'm not sure how to handle this better. Honestly, I would like to remove the recursive parsing altogether but this works for now. Consider filing an issue for a proper resolution of this. I don't want rogue tags expanding themselves in my song titles.
Diffstat (limited to 'src/Plugins/Monitors/ThermalZone.hs')
0 files changed, 0 insertions, 0 deletions