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

Fatal error when trying to invoke matchfile with an invalid path two times #1

Closed
plusvic opened this issue Nov 24, 2013 · 1 comment

Comments

@plusvic
Copy link
Member

plusvic commented Nov 24, 2013

From plus...@gmail.com on January 08, 2009 19:47:03

[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import yara
import yara = yara.compile('/Users/plusvic/Work/Rules/urls')
<yara.Rules object at 0x52050>
r.matchfile('invalid/path')
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or directory
r.matchfile('invalid/path')
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or directory
r.matchfile('444/55')
Fatal Python error: GC object already tracked
Abort trap

Original issue: http://code.google.com/p/yara-project/issues/detail?id=1

@plusvic
Copy link
Member Author

plusvic commented Nov 24, 2013

From plus...@gmail.com on January 11, 2009 10:14:12

Fixed on version 1.1.1

Status: Fixed

@plusvic plusvic closed this as completed Nov 24, 2013
michalmalik referenced this issue in michalmalik/yara Mar 28, 2015
Linux localhost 3.17.7-gentoo #1 SMP Wed Jan 7 09:38:05 CET 2015 i686 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux
Bison version: bison (GNU Bison) 2.4.3

Error when compiling:

/bin/sh ../ylwrap grammar.y y.tab.c grammar.c y.tab.h `echo grammar.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output grammar.output -- bison -y -d 
./yara/libyara/grammar.y:229.9-10: $$ for the midrule at $8 of `rule' has no declared type
plusvic pushed a commit that referenced this issue Apr 27, 2015
Fixed midrule at $8 of 'rule' has no declared type
plusvic pushed a commit that referenced this issue Jan 21, 2016
Pull latest changes from yara master
msuvajac referenced this issue in msuvajac/yara Oct 13, 2016
Linux localhost 3.17.7-gentoo #1 SMP Wed Jan 7 09:38:05 CET 2015 i686 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux
Bison version: bison (GNU Bison) 2.4.3

Error when compiling:

/bin/sh ../ylwrap grammar.y y.tab.c grammar.c y.tab.h `echo grammar.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output grammar.output -- bison -y -d 
./yara/libyara/grammar.y:229.9-10: $$ for the midrule at $8 of `rule' has no declared type
msuvajac referenced this issue in msuvajac/yara Oct 13, 2016
Fixed midrule at $8 of 'rule' has no declared type
msuvajac referenced this issue in msuvajac/yara Oct 13, 2016
Pull latest changes from yara master
plusvic added a commit that referenced this issue Jun 23, 2022
* Add simple_str string implementation

* Add ability to parse .NET user defined types to 'dotnet' module

* Add copyright information

* Unify comment style, define iter variable within for loop

* Fix invalid handling of corrupted parameters

* Remove duplicate test_dotnet in BUILD.bazel

* Fix unaligned memory access. (#1)

* Fix unaligned memory access.

* Add missing comma in Bazel file.

Co-authored-by: Victor M. Alvarez <vmalvarez@virustotal.com>
GerHobbelt pushed a commit to GerHobbelt/yara that referenced this issue Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant