Commit Graph
13 Commits
Author SHA1 Message Date
Olaf Bergmann 28a6d45cde fixed bug #3524612 (Double free error when coap_send returns COAP_INVALID_TID)
From jsucaet's error description (Credits to Marc Haesen for revealing this bug):
The intent of the current code of coap_send is to release the allocated
memory upon success and not to release when an error has occured. However
this is broken (returning from coap_send with an error and a deallocated
pdu ptr is possible).
In the patch, I propose to let the calling function (of coap_send) be
responsible for free'ing the allocated pointer.
2012-05-29 19:41:22 +02:00
Olaf Bergmann 3358f2901d Fixed license info.
Options iterator.
Address abstraction to allow IPv4 addresses.
more changes for draft-ietf-core-coap-06.
2011-06-02 02:43:59 +02:00
Olaf Bergmann 38429f7541 API change: Pass local interface address to coap_new_context.
Changed library numbering to better reflect API changes.
2011-01-10 16:59:45 +01:00
Olaf Bergmann 758b7f775e Applied patches from Markus Becker (thanks!)
* 0001-Trailing-whitespace-cleanup.patch
* 0001-Went-back-to-2.65-of-autoconf.patch
* 0002-Fix-compiler-warning-for-str.patch
* added several files to Makefile target .gitignore
2010-11-22 13:01:00 +01:00
Olaf Bergmann 94cc2c4f42 added license information and general project information 2010-10-18 14:53:04 +02:00
Olaf Bergmann 9ff8221ffd fixed broken bit mask 2010-10-15 10:44:32 +02:00
Olaf Bergmann 58d37f4575 client 2010-07-11 19:59:58 +02:00
Olaf Bergmann 6b25bd6c1c set server port 2010-07-08 22:53:08 +02:00
Olaf Bergmann 4b8fe05413 explicitly set transaction id 2010-07-08 21:25:05 +02:00
Olaf Bergmann d82a7dca77 bugfix: wrong protocol level for hop count change 2010-07-06 13:58:27 +02:00
Olaf Bergmann feabb53c6c added string representation of encoded value to payload of sent pdu 2010-07-06 13:43:02 +02:00
Olaf Bergmann f98eeb45cb multicast example: main process joins group ff02:2001::1 2010-07-06 04:42:51 +02:00
Olaf Bergmann 0b755142fe added examples subdir with tiny fake sensor 2010-07-06 03:18:43 +02:00