Mailinglist Archive: opensuse-bugs (16655 mails)

< Previous Next >
[Bug 442327] New: openwsman: possible segfault
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 6 Nov 2008 08:53:13 -0700 (MST)
  • Message-id: <bug-442327-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=442327


Summary: openwsman: possible segfault
Product: openSUSE 11.1
Version: Beta4
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: WBEM
AssignedTo: bnc-wbem-maintainers@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: kkaempf@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


From openwsman-devel:

Line number 1044 of wsman-xml-serialize.c reads:

if (src != NULL || *src != 0)

That seems like a mistake, since if src is equal to NULL, the code will end up
dereferencing a NULL pointer. Seems like the code should be:

if (src != NULL && *src != 0) {


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >