[crossfire] Static buffer removal for query_name()

Mark Wedel mwedel at sonic.net
Thu Feb 8 22:55:10 CST 2007


Nicolas Weeger wrote:
> 
> Another concern is that I may have used a buffer too small for certain things 
> (used MAX_BUF instead of HUGE_BUF like it was). Thus some strings may be 
> truncated, that will need some checking (but that shouldn't crash!).

  for query_name(), I doubt that buffer size makes a difference.

  where it may be an issue is describe_item() and get_ob_diff() - but I'm not 
100% sure if those return static values or not.




More information about the crossfire mailing list