Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1441285 Details for
Bug 1582024
There is a invalid free in compileFile in compileTranslationTable.c.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed fix
patch (text/plain), 1.04 KB, created by
Samuel Thibault
on 2018-05-24 22:49:36 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Samuel Thibault
Created:
2018-05-24 22:49:36 UTC
Size:
1.04 KB
patch
obsolete
>diff --git a/liblouis/pattern.c b/liblouis/pattern.c >index 2d1eeed4..15961a2a 100644 >--- a/liblouis/pattern.c >+++ b/liblouis/pattern.c >@@ -707,6 +707,7 @@ pattern_compile_expression(const widechar *input, const int input_max, int *inpu > if (!pattern_compile_expression(input, input_max, input_crs, expr_data, expr_max, > expr_crs, loop_cnts)) > return 0; >+ if (*expr_crs + 3 >= expr_max) return 0; > > EXPR_NXT(expr_sub) = *expr_crs; > >@@ -720,7 +721,7 @@ pattern_compile_expression(const widechar *input, const int input_max, int *inpu > > case '+': > >- if (*expr_crs + 4 >= expr_max) return 0; >+ if (*expr_crs + 5 >= expr_max) return 0; > EXPR_TYPE(*expr_crs) = PTN_ONE_MORE; > EXPR_DATA_1(*expr_crs) = (*loop_cnts)++; > (*input_crs)++; >@@ -728,7 +729,7 @@ pattern_compile_expression(const widechar *input, const int input_max, int *inpu > > case '*': > >- if (*expr_crs + 4 >= expr_max) return 0; >+ if (*expr_crs + 5 >= expr_max) return 0; > EXPR_TYPE(*expr_crs) = PTN_ZERO_MORE; > EXPR_DATA_1(*expr_crs) = (*loop_cnts)++; > (*input_crs)++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1582024
:
1440912
| 1441285