mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-09 10:32:53 +03:00
095e2ee629b5176eff7044ed431587e6c0b1cbbf
Fixed calculation of option size in coap_new_error_response(). As only some options are copied from the request, the delta value can increase and thus require more space to encode. This fix closes https://sourceforge.net/p/libcoap/bugs/17/ (thanks to chrysn and tbahls for pointing this out).
libcoap: A C implementation of IETF Core Application protocol Copyright (C) 2010--2013 by Olaf Bergmann <bergmann@tzi.org> ABOUT LIBCOAP libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwith, or network packet sizes. This protocol, CoAP, is developed in the IETF working group "Constrained RESTful Environments (core)", see <http://6lowapp.net>. PACKAGE CONTENTS This directory contains a protocol parser and basic networking functions for platform with support for malloc() and BSD-style sockets. The examples directory contains a client and a server to demonstrate the use of this library. LICENSE INFORMATION This library is published as open-source software without any warranty of any kind. Use is permitted under the terms of the GNU General Public License (GPL), Version 2 or higher, OR the revised BSD license. Please refer to LICENSE.GPL oder LICENSE.BSD for further details.
Description
No description provided
14 MiB
0 Stars
2 Watchers
0 Forks
Languages
C
93.6%
M4
2.9%
CMake
1.8%
Shell
0.7%
Makefile
0.6%
Other
0.4%