gcore - fix overflow in sscanf
commitc313eaf49ba7d31be18aed82df13a386580fc8ac
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 30 Mar 2017 21:02:47 +0000 (30 14:02 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 30 Mar 2017 21:02:47 +0000 (30 14:02 -0700)
tree0d31c3c3435f16fbea34f2fe7a1f9c2aa00ab902
parentb071372427f9b83d9244df9e6c19a775ae29f969
gcore - fix overflow in sscanf

* Fix an overflow which can occur in the sscanf() used to parse
  /proc/*/map

Reported-by: dcb
usr.bin/gcore/elfcore.c