protect stdAlloc and stdDealloc even more against misused MEMF_MANAGED
commit8f1558cbeb8a510aeafeccc3ba87f0025bb469bf
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 18 Jun 2013 11:31:53 +0000 (18 11:31 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Tue, 18 Jun 2013 11:31:53 +0000 (18 11:31 +0000)
treef87f498cf91fe19378f039a86099516fe095b6df
parent9702c2243d364e4aa2ce0f4295e2a770603404f4
protect stdAlloc and stdDealloc even more against misused MEMF_MANAGED
flag in memory header. Now the check includes testing ln_Type for
NT_MEMORY and mhe_Magic fields.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47573 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/exec/memory.c