Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: VirusTotal/yara-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.5.1
Choose a base ref
...
head repository: VirusTotal/yara-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.5.2
Choose a head ref
  • 14 commits
  • 6 files changed
  • 4 contributors

Commits on Nov 25, 2024

  1. Update README.rst (#265)

    rdupon authored Nov 25, 2024
    Configuration menu
    Copy the full SHA
    03c802e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2025

  1. fix: do not dup invalid file descriptor in compile method (#269)

    When providing a file to the compile function, the PyObject_AsFileDescriptor
    function is used, which is safe to use on any object type: if the object is
    not a file, -1 is returned.
    
    However, this value was passed straight to a call to dup() without checking
    for its validity. This isn't much of an issue on unix where the dup call will
    simply fail as well and return -1, but it is very much an issue on windows
    where passing an invalid fd to dup will invoke the invalid parameter handler,
    which isn't set, so it will simply terminate the program.
    
    In other words, passing anything but a file to the file parameter
    of the compile function will make the program crash on Windows.
    vthib authored Mar 12, 2025
    Configuration menu
    Copy the full SHA
    df256bc View commit details
    Browse the repository at this point in the history
  2. fix: check key type in externals dict (#270)

    The type of the key for the externals dict in both the compile and the
    match function was not checked. Providing a dict with non string keys
    leads to a segfault.
    vthib authored Mar 12, 2025
    Configuration menu
    Copy the full SHA
    3c616fe View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2025

  1. Configuration menu
    Copy the full SHA
    cd2fcb0 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2025

  1. Update YARA submodule.

    plusvic committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    4748d3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7241811 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfef0bf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0666b5c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9b54fb3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    680bd14 View commit details
    Browse the repository at this point in the history
  7. Don't create wheels for PyPy.

    The tests are crashing in PyPy with segfaults. It's unclear why this happens, as it is happening even with version 4.5.1, for which PyPy wheels were correctly crated and tested in the past.
    plusvic committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    0458de4 View commit details
    Browse the repository at this point in the history
  8. Remove build-wheels workflow.

    plusvic committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    1bce8e5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c60a5df View commit details
    Browse the repository at this point in the history

Commits on May 2, 2025

  1. Bump version to 4.5.2.

    plusvic committed May 2, 2025
    Configuration menu
    Copy the full SHA
    7b6a7f9 View commit details
    Browse the repository at this point in the history
Loading