No description
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. |
||
|---|---|---|
| apps | ||
| build-root/scripts | ||
| config-aux | ||
| doc | ||
| docker | ||
| etc | ||
| example | ||
| extras | ||
| fuzz | ||
| include | ||
| lib | ||
| test | ||
| util | ||
| yang | ||
| .gitignore | ||
| .travis.yml | ||
| CHANGELOG.md | ||
| codecov.yml | ||
| configure | ||
| configure.ac | ||
| LICENSE.md | ||
| Makefile.in | ||
| README.md | ||
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)