summaryrefslogtreecommitdiff
path: root/tools/obex-client-tool.c
Commit message (Collapse)AuthorAgeFilesLines
* obex-client: Fix leaked_handleGopal Tiwari2022-05-311-0/+1
| | | | | | | | While performing static tool analysis using coverity found following reports for resouse leak bluez-5.64/tools/obex-client-tool.c:315: leaked_handle: Handle variable "sk" going out of scope leaks the handle.
* tools: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-291-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 97 LGPL-2.1-or-later : 38 GPL-2.0-only : 2 License: GPL-2.0-or-later tools/l2cap-tester.c tools/hcisecfilter.c tools/ciptool.c tools/btsnoop.c tools/check-selftest.c tools/btpclientctl.c tools/hci-tester.c tools/hcitool.c tools/btiotest.c tools/oobtest.c tools/btinfo.c tools/hwdb.c tools/hciattach_bcm43xx.c tools/mgmt-tester.c tools/hex2hcd.c tools/hciattach_st.c tools/smp-tester.c tools/bluetooth-player.c tools/hciattach_tialt.c tools/gap-tester.c tools/bluemoon.c tools/bneptest.c tools/gatt-service.c tools/rctest.c tools/rfcomm-tester.c tools/hcieventmask.c tools/hciattach_ti.c tools/seq2bseq.c tools/scotest.c tools/bcmfw.c tools/hciconfig.c tools/btattach.c tools/l2ping.c tools/obexctl.c tools/l2test.c tools/hciattach_intel.c tools/hciattach.h tools/create-image.c tools/bnep-tester.c tools/userchan-tester.c tools/rfcomm.c tools/btmon-logger.c tools/hcidump.c tools/rtlfw.c tools/hciattach_qualcomm.c tools/btproxy.c tools/nokfw.c tools/hciattach_ath3k.c tools/3dsp.c tools/bdaddr.c tools/sco-tester.c tools/hciattach.c tools/amptest.c tools/btgatt-server.c tools/btgatt-client.c tools/cltest.c tools/ibeacon.c tools/mcaptest.c tools/hid2hci.c tools/btmgmt.c tools/advtest.c tools/eddystone.c tools/avtest.c tools/mpris-proxy.c tools/avinfo.c tools/sdptool.c tools/btconfig.c tools/update_compids.sh tools/parser/parser.h tools/parser/obex.c tools/parser/amp.c tools/parser/sdp.c tools/parser/tcpip.c tools/parser/sap.c tools/parser/cmtp.c tools/parser/avctp.c tools/parser/lmp.c tools/parser/ppp.c tools/parser/rfcomm.h tools/parser/hci.c tools/parser/sdp.h tools/parser/parser.c tools/parser/rfcomm.c tools/parser/avdtp.c tools/parser/avrcp.c tools/parser/ericsson.c tools/parser/hcrp.c tools/parser/bpa.c tools/parser/hidp.c tools/parser/bnep.c tools/parser/capi.c tools/parser/att.c tools/parser/l2cap.c tools/parser/smp.c tools/parser/csr.c tools/parser/l2cap.h tools/parse_companies.pl License: LGPL-2.1-or-later tools/test-runner.c tools/btpclient.c tools/meshctl.c tools/mesh-cfgclient.c tools/mesh/model.h tools/mesh/util.h tools/mesh/config-model.h tools/mesh/cfgcli.h tools/mesh/mesh-db.c tools/mesh/mesh-db.h tools/mesh/keys.c tools/mesh/util.c tools/mesh/agent.h tools/mesh/remote.c tools/mesh/keys.h tools/mesh/agent.c tools/mesh/cfgcli.c tools/mesh/remote.h tools/mesh-gatt/prov.c tools/mesh-gatt/util.h tools/mesh-gatt/prov.h tools/mesh-gatt/net.c tools/mesh-gatt/util.c tools/mesh-gatt/prov-db.h tools/mesh-gatt/crypto.c tools/mesh-gatt/crypto.h tools/mesh-gatt/gatt.c tools/mesh-gatt/config-server.c tools/mesh-gatt/keys.h tools/mesh-gatt/onoff-model.c tools/mesh-gatt/net.h tools/mesh-gatt/gatt.h tools/mesh-gatt/node.c tools/mesh-gatt/config-client.c tools/mesh-gatt/mesh-net.h tools/mesh-gatt/node.h tools/mesh-gatt/onoff-model.h tools/mesh-gatt/prov-db.c License: GPL-2.0-only tools/obex-server-tool.c tools/obex-client-tool.c
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-1/+2
|
* tools: Only add unique entries to readline historyLuiz Augusto von Dentz2017-09-201-1/+2
| | | | | Don't add duplicate commands to history this is similar to what HISTCONTROL=ignoredups does.
* tools/obex-client-tool.c: Fix memory leak in obex-client-toolAnupam Roy2015-07-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | GOptionContext object should be freed in case socket connection fails and program execution is terminated. ==12968== HEAP SUMMARY: ==12968== in use at exit: 2,895 bytes in 14 blocks ==12968== total heap usage: 23 allocs, 9 frees, 36,669 bytes allocated ==12968== ==12968== 624 (88 direct, 536 indirect) bytes in 1 blocks are definitely lost in loss record 13 of 14 ==12968== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==12968== by 0x4E85668: g_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==12968== by 0x4E89D22: g_option_context_new (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0) ==12968== by 0x402BAB: main (obex-client-tool.c:428) ==12968== ==12968== LEAK SUMMARY: ==12968== definitely lost: 88 bytes in 1 blocks ==12968== indirectly lost: 536 bytes in 2 blocks ==12968== possibly lost: 0 bytes in 0 blocks ==12968== still reachable: 2,271 bytes in 11 blocks ==12968== suppressed: 0 bytes in 0 blocks
* tools: Fix includes for gobex.h headerMarcel Holtmann2015-03-011-1/+1
|
* tools: Make btio/btio.h include localMarcel Holtmann2014-01-251-1/+1
|
* tools: Remove the total silly usage of gchar and replace it with charMarcel Holtmann2013-01-041-1/+1
|
* tools: Fix missing config.h includesCristian Rodríguez2012-12-231-0/+4
|
* gobex: tools: Fix using BT_IO_TYPE in test-client and test-serverLuiz Augusto von Dentz2012-12-041-42/+39
|
* gobex: tools: Fix test-client error message put/get typoMichał Poczwardowski2012-12-041-1/+1
|
* gobex: tools: Fix test-client to use ERTM while on packet modeLuiz Augusto von Dentz2012-12-041-15/+45
| | | | OBEX should only be used with ERTM over L2CAP and set MTU properly
* gobex: tools: Make test-client use ERTMLuiz Augusto von Dentz2012-12-041-2/+2
| | | | If port is bigger than 31 and stream mode is selected then use ERTM
* gobex: add option to set input/output MTU to test-clientLuiz Augusto von Dentz2012-12-041-20/+10
|
* gobex: Add Bluetooth support for test-clientLuiz Augusto von Dentz2012-12-041-61/+155
|
* gobex: Merge gobex-transfer.h into gobex.hJohan Hedberg2012-12-041-1/+0
|
* gobex: Fix test-server/client file creation modeJohan Hedberg2012-12-041-1/+1
|
* gobex: Add Get support to test-client and test-serverJohan Hedberg2012-12-041-10/+54
|
* gobex: Make use of va-args headers in higher level functionsJohan Hedberg2012-12-041-1/+1
|
* gobex: Make transfer functions take va-args header listsJohan Hedberg2012-12-041-2/+3
|
* gobex: Print more informative disconnect message in test-clientJohan Hedberg2012-12-041-1/+1
|
* gobex: Rename g_obex_put to g_obex_put_reqJohan Hedberg2012-12-041-1/+2
|
* gobex: Add support for put transfer in test-clientJohan Hedberg2012-12-041-0/+56
|
* gobex: Add connect command to test-clientJohan Hedberg2012-12-041-0/+10
|
* gobex: Add readline support to test-clientJohan Hedberg2012-12-041-1/+98
|
* gobex: Add basic skeleton for test-clientJohan Hedberg2012-12-041-0/+144