repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git]
/
external
/
redland
/
raptor
/
ubsan.patch
blob
54b041e80f1f6f339ad44138096b4504be3f976b
1
--- src/raptor_rfc2396.c
2
+++ src/raptor_rfc2396.c
3
@@ -386,7 +386,7 @@
4
}
5
6
7
- if(prev && s == (cur+2) && cur[0] == '.' && cur[1] == '.') {
8
+ if(prev && cur && s == (cur+2) && cur[0] == '.' && cur[1] == '.') {
9
/* Remove <component>/.. at the end of the path */
10
*prev = '\0';
11
path_len -= (s-prev);