Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #21496
Closed (moved) (moved)
Open
Created Feb 18, 2017 by teor@teor

Check string passed to extrainfo_parse_entry_from_string

scan-build reports the following out of bounds access, because it doesn't know that s is always non-NULL. But we should guard against it being NULL.

extrainfo_parse_entry_from_string:

+  if (BUG(!s))
+    return;
   while (end > s+2 && *(end-1) == '\n' && *(end-2) == '\n')
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking