Permalink
Commits on Aug 10, 2018
  1. Merge pull request #17 from darconeous/nyocictl-fix-link-format

    darconeous committed Aug 10, 2018
    nyocictl: Fix for parsing link format with embedded quotes.
  2. nyocictl: Fix for parsing link format with embedded quotes.

    darconeous committed Aug 10, 2018
    Also includes some mild code cleanup.
Commits on Jul 7, 2018
  1. Merge pull request #16 from couchbasedeps/fix/missing-parens

    darconeous committed Jul 7, 2018
    Fixed a logic error due to missing parens
Commits on Jul 6, 2018
  1. Fixed a logic error due to missing parens

    snej committed Jul 2, 2018
    `==` has higher precedence than `&`, so the expression wasn’t doing
    what was intended.
Commits on Jul 1, 2018
  1. Merge pull request #12; Address issues discovered by fuzzing

    darconeous committed Jul 1, 2018
    SECURITY: Address issues discovered by fuzzing
    
    Bruno Menlo was doing some independent security research and
    discovered several reproducible crashes and one hang on the
    `nyoci-plugtest-server` program. One of the bugs was a buffer overflow
    due to the misuse of the `nyoci_inbound_get_path()` API by
    `nyoci-plugtest-server`, which is likely exploitable.
    
    These changes address these bugs. However, I've determined that it is
    way too easy to misuse the `nyoci_inbound_get_path()` API, so I have
    changed it to include a `maxlen` parameter. Since this is an API
    change, I've incremented the configuration index. Any program which
    uses the `NYOCI_LIBRARY_VERSION_CHECK()` or `nyoci_inbound_get_path()`
    will need to be recompiled after this change.
    
    Thanks Bruno for reporting this!
  2. Merge pull request #11 from darconeous/fix-issue-10

    darconeous committed Jul 1, 2018
    Fix for URI corruption in `nyoci_outbound_set_uri()`.
  3. nyoci-outbound: minor cleanup.

    darconeous committed Jul 1, 2018
  4. nyoci-outbound: Don't let an invalid content length be set.

    darconeous committed Jul 1, 2018
    This was discovered while addressing various issues discovered by
    Bruno Melo.
  5. plugtest-server: Robustness improvements

    darconeous committed Jul 1, 2018
    This commit fixes some issues that were discovered by
    Bruno Melo.
  6. nyoci-list: Fix for null pointer deference.

    darconeous committed Jul 1, 2018
    This fixes a minor issue discovered by Bruno Melo.
  7. Add maximum length argument to nyoci_inbound_get_path()

    darconeous committed Jun 30, 2018
    Previously this function was assuming that the buffer would
    always be at least `NYOCI_MAX_URI_LENGTH`, but this is very
    limiting and can lead to buffer overruns, like those that
    Bruno Melo discovered.
    
    This is an API change, so the configuration index has been
    incremented.
Commits on Jun 27, 2018
  1. Fix for URI corruption in `nyoci_outbound_set_uri()`.

    darconeous committed Jun 27, 2018
    Fixes #10
Commits on Jun 26, 2018
  1. Merge pull request #6 from darconeous/dtls

    darconeous committed Jun 26, 2018
    Working DTLS Support
  2. nyocictl: Show 'obs' status in list view

    darconeous committed Jun 26, 2018
  3. DTLS/OpenSSL: Added support for PSK

    darconeous committed Jun 7, 2018
    This commit represents the first working DTLS interaction
    with another stack: I can now interact with the Ikea Tradfri
    Hub using LibNyoci.
    
    The LibNyoci OpenSSL DTLS platform code is somewhat of a mess,
    but luckily the mess is isolated to that file. I hope to clean
    it up over the next few weeks, and perhaps add support for other
    TLS stacks.
  4. Merge pull request #9 from couchbasedeps/fix/compile_errors

    darconeous committed Jun 26, 2018
    Fixed two compile errors building for ESP32
  5. Merge pull request #7 from langchr86/fix/cpp_extern_c_decl

    darconeous committed Jun 26, 2018
    Fix C++ compatibility in btree extern "C" declaration.
Commits on Jun 25, 2018
  1. Fix C++ compatibility in btree extern "C" declaration.

    Christian Lang
    Christian Lang committed Jun 25, 2018
Commits on Jun 5, 2018
  1. nyoci_schedule_timer: Do not require prior invalidation to reschedule

    darconeous committed Jun 5, 2018
    This commit changes the behavior of `nyoci_schedule_timer()` to no
    longer require that the timer not be previously scheduled.
    
    Fixes #5
  2. nyoci_outbound_append_content_formatted: Content length fix

    darconeous committed Jun 5, 2018
    This commit fixes a typo that was causing the content length
    to be corrupted after using `nyoci_outbound_append_content_formatted()`.
    
    Fixes #3.
  3. Add an Xcode project

    snej authored and darconeous committed May 16, 2018
    Includes pregen config.h and nyoci-config.h for macOS
    
    For the Xcode project, so it can build without having to run
    `./configure`. (Will need different files for iOS...)
  4. Fixed C++ compatibility

    snej authored and darconeous committed May 21, 2018
    Added some missing NYOCI_{BEGIN,END}_C_DECLS lines
  5. Fixed uninitialized `toport` in nyoci_outbound_set_uri()

    snej authored and darconeous committed May 16, 2018
    Variable `toport` was used uninitialized in some code paths.
    
    Fixes #2
  6. Fixed warnings

    snej authored and darconeous committed May 16, 2018
    * Non-prototypes: changed `foo();` to `foo(void);`
    * Added a few missing prototypes
    * Added `static` for internal fns not used outside their source file
    * Added explicit integer downcasts, upgraded a few `int`s to `size_t`
    * Commented out an unused variable
    * Fixed unchecked error status in `nyoci_plat_join_standard_groups()`
    * Fixed runtime warnings, when ending transactions in `nyocictl`
Commits on Dec 20, 2017
  1. Added AM_MAINTAINER_MODE

    darconeous committed Dec 20, 2017
Commits on Jul 8, 2017
Commits on Apr 11, 2017
Commits on Apr 5, 2017
  1. Update README.md

    darconeous committed Apr 5, 2017
    Remove obsolete disclaimer. You can now easily use LibNyoci from other projects.
Commits on Apr 4, 2017
Commits on Apr 3, 2017
Commits on Apr 2, 2017
Commits on Mar 17, 2017
  1. Initial empty commit

    darconeous committed Mar 17, 2017