A buffer variable wasn't dereferenced in two similar comparisons in ResList
commitba4115c9bb9944d4ed0e91f6866b33363cdcc774
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 11 Mar 2015 17:42:04 +0000 (11 17:42 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 11 Mar 2015 17:42:04 +0000 (11 17:42 +0000)
treecc4d8748009563acd24d2354afbe6ddaa4daecde
parentd0de7c2e4011911fe241c0862485eca25fac727c
A buffer variable wasn't dereferenced in two similar comparisons in ResList
and TaskList, leading to an invalid comparison. The buffer could then be
incorrectly thought to be full, leading to the allocation of a much larger
buffer size than necessary, or running out of memory.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50194 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/c/ResList.c
workbench/c/TaskList.c