Code Monkey home page Code Monkey logo

Comments (3)

bel2125 avatar bel2125 commented on June 10, 2024

What version of the server did you use ?
I will need some information to be able to reproduce this locally. What exactly is the screenshot above showing?
is this a memory dump from the network package?
'/backup-restore' is a C handler function calling mg_handle_form_request ?

from civetweb.

Whips66 avatar Whips66 commented on June 10, 2024

Sorry - That was a Friday end of the day post.

Hi it is version 1.16 of the server
Sorry I did not explain very well . The screen shot is Wireshark capture of the badly formed data I was sending to Civetweb embedded in one of our software products.

The /backup-restore is the URL that I have a handler installed for but it did not get to my handler.
When I fixed my javascript to correctly format the post request I did not encounter any issues.

I will see if I can produce a minimal example that cause the problem.

As a work around I added a check for NULL and that stopped the crash

from civetweb.

bel2125 avatar bel2125 commented on June 10, 2024

If you know how the request exactly looks like, it might be possible to send it with "netcat".
I can do this myself, if I know the exact byte sequence sent.
Also, I can try if this is possible to find using a fuzz test - actually there is a fuzz test for CivetWeb, but it did not find this issue (yet).

from civetweb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.