dbLoadTemplate has hard-coded limits

Bug #1198234 reported by Andrew Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Released
High
Unassigned

Bug Description

The macros VAR_MAX_VARS and VAR_MAX_VAR_STRING are hard-coded limits built into the dbLoadTemplate() routine, and there are no checks in the code for exceeding either limit. At minimum the code should prevent overflows and abort the dbLoadTemplate() [when this is done the importance of this bug can be reduced to low or wish-list], but I would prefer to remove the limits completely.

Tags: dbtools
Revision history for this message
Andrew Johnson (anj) wrote :

Mostly fixed on 3.14 branch by commit 12434, which added the variable dbTemplateMaxVars.

Changed in epics-base:
status: Triaged → Fix Committed
Andrew Johnson (anj)
Changed in epics-base:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.