Fix for a crash because of too long font file names.
commit7eb44797964ac73c31c2ac355dd408303f9cb85e
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 19 Sep 2013 21:05:46 +0000 (19 21:05 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 19 Sep 2013 21:05:46 +0000 (19 21:05 +0000)
tree114185bb4a80f6cf82a1c6d86741b024d35c7d8c
parent0c9fbdabec847173e46b9e3274cc553242c40e1e
Fix for a crash because of too long font file names.
Previous version allocated some buffers with MAXFONTNAME
but didn't check for buffer overruns.
It seems that diskfont.library doesn't use MAXFONTNAME
anymore, so that font name sizes up to MAXFILENAMELENGTH
are now possible. Therefore we are now using MAXFILENAMELENGTH
as buffer size for font file names.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48110 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/asl/fontreqhooks.c
workbench/libs/asl/fontreqhooks.h
workbench/libs/asl/fontreqsupport.c