Opened 13 years ago

Closed 11 years ago

#1315 closed defect (fixed)

DebCheck QA: Dangerous usage (strncpy doesn't always 0-terminate it)

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: Compiling Version: 6.4.0
Keywords: Cc:
CPU: Unspecified Platform: Linux


(see #1311)

  • ./raster/ [error] - Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)
  • ./raster/ [error] - Dangerous usage of 'name' (strncpy doesn't always 0-terminate it)

probably it is time to revisit the safe string copy/sprintf best practice in the SUBMITTING file.


Change History (3)

comment:1 by hamish, 12 years ago

fixed in devbr6 with r50186. ( in trunk audited, repaired in r50185)


comment:2 by neteler, 12 years ago


Please backport if appropriate (perhaps we need to get rid of devbr6).

comment:3 by hamish, 11 years ago

Resolution: fixed
Status: newclosed

backported to relbr64 by mmetz in r52903.

closing ticket, Hamish

Note: See TracTickets for help on using tickets.