cppcheck analysis of dnprogs_2.49.dsc
- ./dapfs/dapfs.c:648 [error] - Memory leak: password
- ./dapfs/dapfs.c:647 [error] - Memory leak: username
- ./dapfs/dapfs.c:644 [error] - Undefined behaviour: prefix is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./dncopy/dncopy.cc:162 [possible error] - Memory leak: buf
- ./dnetd/task_server.c:198 [possible error] - Resource leak: t
- ./dnroute/get_neigh.c:333 [possible error] - Memory leak: nodename
- ./dnroute/get_neigh.c:333 [error] - Memory leak: routername
- ./dnroute/pidfile.c:60 [error] - Resource leak: fd
- ./fal/server.cc:214 [possible error] - Memory leak: newcm
- ./libdaemon/dnet_daemon.c:752 [error] - Resource leak: f
- ./libdap/connection.cc:956 [possible error] - Memory leak: newcm
- ./libdap/connection.cc:475 [error] - Null pointer dereference
- ./libdap/protocol.cc:500 [possible error] - Memory leak: m
- ./libdnet/dnet_addr.c:59 [error] - Resource leak: dnhosts
- ./libdnet/dnet_getnode.c:45 [error] - Memory leak: gs
- ./libdnet/getexecdev.c:63 [error] - Resource leak: dnhosts
- ./libdnet/getnodename.c:62 [error] - Resource leak: dnhosts
- ./librms/open.cc:106 [possible error] - Memory leak: rc
- ./mail/sendvmsmail.c:330 [error] - Dangerous usage of 'node' (strncpy doesn't always 0-terminate it)
- ./mail/uulib/uuencode.c:478 [possible error] - Resource leak: theifile
- ./mail/uulib/uuencode.c:764 [possible error] - Resource leak: theifile
- ./mail/uulib/uuencode.c:1001 [possible error] - Resource leak: theifile
- ./multinet/multinet.c:242 [possible error] - Array index out of bounds
- ./multinet/multinet.c:243 [possible error] - Array index out of bounds
- ./multinet/multinet.c:244 [possible error] - Array index out of bounds
- ./multinet/multinet.c:245 [possible error] - Array index out of bounds
- ./multinet/multinet.c:246 [possible error] - Array index out of bounds
- ./nml/nml.c:606 [error] - Resource leak: f
- ./phone/phone_server.c:310 [possible error] - Resource leak: proc_fd
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:47:02 +0000, based on results by cppcheck 1.41-modif