No description
Find a file
mager-m af7e0458c6 Fixed memory allocation for struct dirent
While porting clixon to the RTOS Blackberry QNX there was memory corruption while reading the yang models from the disk.
Debugging led to the function `clicon_file_dirent` in `clixon_file.c` in which the `struct dirent` is copied into an array.
According to the UNIX `struct dirent` [documentation](https://man7.org/linux/man-pages/man0/dirent.h.0p.html):
>  The name of an array of char of an unspecified size should not be
>  used as an lvalue. Use of:
>
>           sizeof(d_name)
>
>  is incorrect; use:
>
>          strlen(d_name)
>
>      instead.

I adjusted the memory allocation to take the `strlen(dent->d_name)` into account.
2021-06-09 23:35:33 +02:00
apps * Most tests work with HTTP/2 support using nghttp2 2021-06-08 20:53:43 +02:00
build-root/scripts Implement make dist target 2017-12-05 05:23:27 -06:00
config-aux * Fixed ["aux" folder issue with Windows. #198](https://github.com/clicon/clixon/issues/198) 2021-04-07 09:44:18 +02:00
doc - Changed master to 5.2.0.PRE 2021-04-17 15:23:10 +02:00
docker * Changed config and install options for Restconf 2021-05-23 17:14:18 +02:00
etc Copyright 2021 2021-01-13 14:40:34 +01:00
example Vagrant and test updates for restconf /www-data mods 2021-05-23 19:55:01 +02:00
extras * NACM extension (RFC8341) 2018-12-16 19:49:19 +01:00
fuzz fuzzing restconf changes, json mem error 2021-06-02 13:39:48 +02:00
include - Started nghttp2 work 2021-05-31 19:11:19 +02:00
lib Fixed memory allocation for struct dirent 2021-06-09 23:35:33 +02:00
test * Fixed: [JSON parsing error for a specific input. #236](https://github.com/clicon/clixon/issues/236) 2021-06-09 11:44:28 +02:00
util - Restructure plugin module using a "module struct" rather than global variables. 2021-04-19 11:06:40 +02:00
yang * Added new startup-mode: running-startup: First try running db, if it is empty try startup db. 2021-05-27 13:18:01 +02:00
.gitignore * NETCONF Call Home Call Home RFC 8071 2021-02-04 11:43:09 +01:00
.travis.yml slack invite, travis docker passwords 2021-05-24 13:27:03 +02:00
CHANGELOG.md * Fixed: [JSON parsing error for a specific input. #236](https://github.com/clicon/clixon/issues/236) 2021-06-09 11:44:28 +02:00
codecov.yml Tests: 2021-04-24 17:51:39 +02:00
configure * Most tests work with HTTP/2 support using nghttp2 2021-06-08 20:53:43 +02:00
configure.ac * Most tests work with HTTP/2 support using nghttp2 2021-06-08 20:53:43 +02:00
LICENSE.md Restconf native: add body to bad request return 2021-05-01 17:53:29 +02:00
Makefile.in - Restructure plugin module using a "module struct" rather than global variables. 2021-04-19 11:06:40 +02:00
README.md slack invite, travis docker passwords 2021-05-24 13:27:03 +02:00

Build Status Documentation Status codecov

Clixon is a YANG-based configuration manager, with interactive CLI, NETCONF and RESTCONF interfaces, an embedded database and transaction mechanism.

See documentation, project page and examples, Travis-CI

Clixon is open-source and dual licensed. Either Apache License, Version 2.0 or GNU General Public License Version 2; you choose, see LICENSE.md.

Latest release is 5.1.0. See CHANGELOG.md release history.

Clixon interaction is best done posting issues, pull requests, or joining the slack channel. Slack invite (updated 24/5 2021)

Clixon is sponsored by Rubicon Communications LLC(Netgate)