Segfault in Network_IP_Interface_Query

Bug #1821665 reported by Leland Lucius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zVM Cloud Connector
Fix Committed
Medium
Unassigned

Bug Description

The smcli (git HEAD) Network_IP_Interface_Query API segfaults when it reaches the end of the output from SMAPI. I'm using VMSECURE 3.2 and z/VM 6.4.

gdb --args smcli Network_IP_Interface_Query -T maint -k tcpip_stack=tcpip -k interface_all=yes

...

Program received signal SIGSEGV, Segmentation fault.
0x000003fffdaff80a in puts () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-222.el7.s390x
(gdb) bt
#0 0x000003fffdaff80a in puts () from /lib64/libc.so.6
#1 0x0000000080034cfe in networkIpInterfaceQuery (argC=8, argV=0x3fffffff5a8,
    vmapiContextP=0x3ffffffea48) at zthin/src/smcliNetwork.c:447
#2 0x000000008000f818 in main (argC=8, argV=0x3fffffff5a8) at zthin/src/smcli.c:801
(gdb)

Revision history for this message
Leland Lucius (lluciuslp) wrote :
Revision history for this message
jichenjc (jichenjc) wrote :
Changed in python-zvm-sdk:
importance: Undecided → Medium
status: New → Confirmed
jichenjc (jichenjc)
Changed in python-zvm-sdk:
status: Confirmed → Fix Committed
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.