Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yara-python
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
yara-python
Commits
c1490e16
Commit
c1490e16
authored
Jan 07, 2020
by
Victor M. Alvarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PyLong_AsLongLong of PyLong_AsLong for external variables. Closes #125.
parent
d48db12d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
yara-python.c
yara-python.c
+2
-2
No files found.
yara-python.c
View file @
c1490e16
...
...
@@ -991,7 +991,7 @@ int process_compile_externals(
result
=
yr_compiler_define_integer_variable
(
compiler
,
identifier
,
PyLong_AsLong
(
value
));
PyLong_AsLong
Long
(
value
));
}
else
if
(
PyFloat_Check
(
value
))
{
...
...
@@ -1061,7 +1061,7 @@ int process_match_externals(
result
=
yr_rules_define_integer_variable
(
rules
,
identifier
,
PyLong_AsLong
(
value
));
PyLong_AsLong
Long
(
value
));
}
else
if
(
PyFloat_Check
(
value
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment