Cleanup: limit length of strings scanned by scanf.
authorKp <kp@valhallalegends.com>
Sat, 13 Dec 2008 18:37:39 +0000 (12:37 -0600)
committerKp <kp@valhallalegends.com>
Sat, 13 Dec 2008 19:57:39 +0000 (13:57 -0600)
commit7da2061d1fe888de4b055127ca3c5bec8526e69f
tree6aa41d9bc21b5efd034f18bec92d7da58a88ed4c
parentd8bab7c3937644509e6759b38a5e2ee9bfaf273e
Cleanup: limit length of strings scanned by scanf.

Several uses of scanf-type functions allowed the scanned string to
supply an arbitrarily large input string.  Add length qualifiers to
prevent scanf from overrunning the supplied buffer.
apps/silc/clientutil.c
apps/silcmap/silcmap_bitmap.c
util/robodoc/Source/generator.c