Why not just use strtol() then?  The check against MINXHDRSZ
will catch any negative values.

 - todd

Reply via email to