Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add specific compilation rule for sql.c #352

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

This PR adds a specific compilation rule for sql.c to handle its sql_internal.h dependency.

Fixes the build failures in #351 by adding a dedicated Makefile rule for sql.c compilation.

Link to Devin run: https://app.devin.ai/sessions/7bc67faddc4d4c96ad62208b48c20218

devin-ai-integration bot and others added 21 commits December 20, 2024 02:33
- Enhanced SQL query validation in sql.c with whitelist approach
- Added dangerous token detection for SQL injection prevention
- Improved overwrite.c to use safe SQL queries
- Added comprehensive SQL injection prevention tests
- Updated Makefile to include SQL injection test target

Security: Fixes #29

Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
…on prevention

Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
…quirements

Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
…ions

Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
…ndency

Co-Authored-By: Matt Wong <matt@liquidaty.com>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

Copy link
Author

Devin is currently unreachable - the session may have died.

devin-ai-integration bot and others added 7 commits December 20, 2024 04:09
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
devin-ai-integration bot and others added 4 commits December 20, 2024 04:41
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Co-Authored-By: Matt Wong <matt@liquidaty.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants