Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
082e8313
Commit
082e8313
authored
Oct 06, 2016
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add a couple fixups for the security patches"
This reverts commit b092864a39bbcd4f34c5c26a7cd0df90e235815d. We will use the proper libX11 upstream patches now.
parent
e15023b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
Font.c
nx-X11/lib/X11/Font.c
+0
-1
XKBGetMap.c
nx-X11/lib/X11/XKBGetMap.c
+1
-1
XKBNames.c
nx-X11/lib/X11/XKBNames.c
+1
-1
No files found.
nx-X11/lib/X11/Font.c
View file @
082e8313
...
...
@@ -508,7 +508,6 @@ _XF86BigfontQueryFont (
any real font needs, so the combined total doesn't overflow either */
if
(
reply
.
nUniqCharInfos
>
((
ULONG_MAX
/
2
)
/
SIZEOF
(
xCharInfo
))
||
reply
.
nCharInfos
>
((
ULONG_MAX
/
2
)
/
sizeof
(
CARD16
)))
{
Xfree
(
fs
->
properties
);
Xfree
((
char
*
)
fs
);
_XEatDataWords
(
dpy
,
reply_left
);
return
(
XFontStruct
*
)
NULL
;
...
...
nx-X11/lib/X11/XKBGetMap.c
View file @
082e8313
...
...
@@ -427,7 +427,7 @@ XkbServerMapPtr srv;
if
(
rep
->
totalVModMapKeys
>
0
)
{
if
(((
int
)
rep
->
firstVModMapKey
+
rep
->
nVModMapKeys
)
>
xkb
->
max_key_code
+
1
)
>
xkb
->
max_key_code
)
return
BadLength
;
if
(((
xkb
->
server
==
NULL
)
||
(
xkb
->
server
->
vmodmap
==
NULL
))
&&
(
XkbAllocServerMap
(
xkb
,
XkbVirtualModMapMask
,
0
)
!=
Success
))
{
...
...
nx-X11/lib/X11/XKBNames.c
View file @
082e8313
...
...
@@ -180,7 +180,7 @@ _XkbReadGetNamesReply( Display * dpy,
nKeys
=
xkb
->
max_key_code
+
1
;
names
->
keys
=
_XkbTypedCalloc
(
nKeys
,
XkbKeyNameRec
);
}
else
if
(
((
int
)
rep
->
firstKey
+
rep
->
nKeys
)
>
xkb
->
max_key_code
+
1
)
else
if
(
((
int
)
rep
->
firstKey
+
rep
->
nKeys
)
>
xkb
->
max_key_code
)
goto
BAILOUT
;
if
(
names
->
keys
!=
NULL
)
{
if
(
!
_XkbCopyFromReadBuffer
(
&
buf
,
...
...
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