mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
doc/util/dbtoman: Coverity 88244
This commit is contained in:
parent
82e8b80612
commit
d4db22f45a
1 changed files with 3 additions and 1 deletions
|
@ -1874,7 +1874,9 @@ TblDoSpanSpec(Element_t * ep, /* element containing spanspec stuff */
|
|||
|
||||
Calloc(1, tssp, struct tblspanspec);
|
||||
|
||||
if ( cp = FindAttValByName(ep, "SPANNAME") ) strcpy(tssp->name, cp);
|
||||
if ( cp = FindAttValByName(ep, "SPANNAME") ) {
|
||||
snprintf(tssp->name, sizeof(tssp->name), "%s", cp);
|
||||
}
|
||||
tssp->source = source;
|
||||
|
||||
if ( cp = FindAttValByName(ep, "NAMEST") ) {
|
||||
|
|
Loading…
Reference in a new issue