Commit Graph
4000 Commits
Author SHA1 Message Date
Stefan Profanter 369103e793 Use proper defines for malloc, free, calloc, realloc 2017-07-21 15:39:17 +02:00
Stefan Profanter f434923056 Push master to coverity_scan 2017-07-20 13:27:36 +02:00
Stefan Profanter 66a8a574d3 Use same compiler flags as oss-fuzz (for ASAN) 2017-07-20 11:21:34 +02:00
Stefan Profanter f77b641cfc Merge pull request #1120 from open62541/feature/fuzzing
Add fuzzing for oss-fuzz
2017-07-19 23:42:50 +02:00
Stefan Profanter 2bcaaa248a Use cmake on oss-fuzz 2017-07-19 22:51:16 +02:00
Stefan Profanter ff95247766 Fix build for C++11 2017-07-19 22:02:35 +02:00
Stefan Profanter daa02176f8 Fix for strict compiler flags 2017-07-19 18:21:41 +02:00
Stefan Profanter 15593d142a Merge remote-tracking branch 'upstream/master' into test/fuzz 2017-07-19 17:47:21 +02:00
Stefan Profanter b2b5945f85 Fix license header 2017-07-19 17:42:00 +02:00
Stefan Profanter 5b2b18b376 Use simpler clang setup for fuzzing.
Thanks to https://github.com/openssl/openssl/commit/404c76f4ee1dc51c0d200e2b60a6340aadb44e38
2017-07-19 17:41:11 +02:00
Julius Pfrommer 5f435dba17 set default access level in ns0 2017-07-19 17:41:11 +02:00
Mark Giraud b4f1c9e347 Fix/accescontrol default (#1113)
* Fixed mismatching function declaration and the resulting build error

* Fix #1112
2017-07-19 17:41:11 +02:00
Stefan Profanter e1246aa354 Integrate fuzzer into continuous build env 2017-07-19 17:41:11 +02:00
Stefan Profanter e23fb0b6a2 Fix memory leak
Credit to OSS-Fuzz
2017-07-19 17:41:11 +02:00
Stefan Profanter a7d350fa69 Initialize new server on every run 2017-07-19 17:41:10 +02:00
Stefan Profanter 0b918bce5f Add corpus (copied from tests/dumps) 2017-07-19 17:41:10 +02:00
Stefan Profanter 39059ba3e0 First test for fuzzing 2017-07-19 17:41:10 +02:00
Julius Pfrommer 17520a668e update to latest mdnsd lib 2017-07-19 17:33:09 +02:00
Julius Pfrommer 2ce234209e cosmetic improvements 2017-07-19 17:33:09 +02:00
Julius Pfrommer 1c1f76db1d reuse code for dispatching of service operations 2017-07-19 17:33:09 +02:00
Julius Pfrommer dcd6b43bfa split out datachange monitoreditems into a separate file 2017-07-19 17:33:09 +02:00
Julius Pfrommer 5398343607 enable even stricter compiler warnings; test for C++ compat 2017-07-19 17:33:09 +02:00
Julius Pfrommer 18913ea8aa set default access level in ns0 2017-07-19 13:49:48 +02:00
Mark Giraud b15ed3ae5f Fix/accescontrol default (#1113)
* Fixed mismatching function declaration and the resulting build error

* Fix #1112
2017-07-19 11:57:57 +02:00
Julius Pfrommer c1c23966da Merge pull request #1116 from jpfr/merge_02
Merge 02
2017-07-17 16:10:34 +02:00
Julius Pfrommer 70e47a8419 Merge branch '0.2' 2017-07-17 16:09:33 +02:00
Julius Pfrommer 91b498444a Merge branch '0.2' 2017-07-17 15:55:46 +02:00
Julius Pfrommer 3702ffe7f3 fix removing repeated jobs by a repeated job
Two edge cases were missed for removing of repeated jobs.
First, the job in tmp_rj could be removed and accessed in the
LIST_FOREACH_SAFE macro. Second, the job "lastNow" could be
removed and accessed during the search for the next insertion
point.

The master branch was not exposed to the bug, as the code was
already cleaned up in the push to make repeated jobs available
in the client.
2017-07-13 20:29:36 +02:00
Stefan Profanter 20440bcd6b Fix build for VS2008 2017-07-13 14:40:25 +02:00
Thomas Bender 498136add6 added 3 missing status codes according to underlying schema of OPC foundation git repository (3146d80, Errata-1.03.3) (status code descriptions of already existing status codes were updated before only) 2017-07-06 13:22:44 +00:00
Julius Pfrommer ab0b222965 Move the generation of src_generated/nodeset.c to examples/CMakeLists.txt 2017-07-06 11:04:43 +00:00
Julius Pfrommer 8c7e7ea237 enforce utf8 encoding with replacement of unprintable characters during amalgamation 2017-07-06 11:04:43 +00:00
Thomas Bender b6cd7503e8 applied latest released fixes to Opc.Ua.StatusCodes.csv from OPC foundation git repository (3146d80, Errata-1.03.3) 2017-07-06 07:36:51 +00:00
Julius Pfrommer 2a42d8f1e6 Merge branch '0.2' into merge_02 2017-07-05 18:24:59 +02:00
Julius Pfrommer d479f854da cosmetic: simplify network layer 2017-07-05 09:09:18 +00:00
Julius Pfrommer 0edcdacd91 change the format for the CHANGELOG file 2017-07-05 09:09:18 +00:00
Julius Pfrommer bffefa4cd0 async client functionality 2017-07-05 09:09:18 +00:00
Julius Pfrommer a195388ba6 Use shields.io badges; Add a total downloads badge 2017-07-05 08:18:00 +00:00
Julius Pfrommer 089dd7aae8 return partial content of a range (fix #1055) 2017-07-04 07:28:05 +00:00
Julius Pfrommer 138bcbf9df fix cleaning up unassigned memory (reported in #1055) 2017-07-04 07:28:05 +00:00
Julius Pfrommer 365064bc78 move ns0id node identifiers to ua_constants.h 2017-07-03 13:02:24 +00:00
Julius Pfrommer 09d8f5f5ed temporarily disable valgrind for client tests due to a libc bug we cannot work around 2017-07-03 13:02:24 +00:00
Julius Pfrommer 36c7608f32 Fix IPv6 on Windows by listening on serveral sockets.
The server networklayer listens on several sockets for
available networks and IP versions. IPv4 connections
are still supported.

The OPC Foundation ANSI C Stack before 2016 does not fully
support IPv6. On Windows, the 'localhost' target is resolved
to IPv6 by default. Old applications (e.g. the Conformance
Testing Tools) need to connect to 127.0.0.1 instead of
'localhost' to force IPv4.
2017-07-03 13:02:24 +00:00
Julius Pfrommer 7729ac02c7 Align the license header of open62541.pc.in 2017-07-03 13:02:24 +00:00
Julius Pfrommer fadd1dd09d remove obsolete memberstruct definition 2017-06-29 12:12:05 +02:00
Julius Pfrommer 96e87cedfa restore old UA_Job API and mark as deprecated 2017-06-29 12:12:05 +02:00
Julius Pfrommer 454c6ed8a3 move access control to a separate plugin 2017-06-29 12:12:05 +02:00
Julius Pfrommer e4bcf511b0 small improvement to types doc 2017-06-29 12:12:05 +02:00
Julius Pfrommer 0ba2baddfd rename ua_log.h to ua_plugin_log.h; clean up 2017-06-29 12:12:05 +02:00
Julius Pfrommer c2a1407774 move server and client networking to ua_plugin_network.h 2017-06-29 12:12:05 +02:00