Follow-up Comment #8, bug #24135 (project freeciv):

I'm not sure this patch is the right approach.
> dir_to_next_pos = 4294967295, dir_to_here = 134287504
I think that these directions are likely uninitialised. That is, they might
randomly *pass* the map_untrusted_dir_is_valid() test, and presumably do the
wrong thing (and make valgrind complain, if it ever sees this).

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24135>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to