Bug 8439 - smbtaquery "system, self-check online" segfaults when status table is empty
Summary: smbtaquery "system, self-check online" segfaults when status table is empty
Status: RESOLVED FIXED
Alias: None
Product: smbta
Classification: Unclassified
Component: smbtaquery (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Holger Hetterich
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 8204
  Show dependency treegraph
 
Reported: 2011-09-06 18:34 UTC by Holger Hetterich
Modified: 2012-05-12 21:39 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hetterich 2011-09-06 18:34:01 UTC
We had the today the situation that the status table was not filled by smbtad (because an older version of smbtad has been run). smbtaquery immediately segfaults when going through one of the str to int conversion routines. Even if this situation cannot happen with officially released versions, we should take more care for the conversion routines there.

Assigning to me for fixup. For 1.2.6
Comment 1 Holger Hetterich 2012-05-12 21:39:18 UTC
The sql_query function catches this case in devel.