Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain DEP.
biboumi
Commits
25d46924
Commit
25d46924
authored
May 02, 2017
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a segmentation fault when connecting to a server without a port
fix
#3260
parent
9db89eb8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
CHANGELOG.rst
CHANGELOG.rst
+6
-0
CMakeLists.txt
CMakeLists.txt
+1
-1
packaging/biboumi.spec.cmake
packaging/biboumi.spec.cmake
+4
-0
src/irc/irc_client.cpp
src/irc/irc_client.cpp
+5
-0
No files found.
CHANGELOG.rst
View file @
25d46924
Version 4.3 - 2017-05-02
========================
- Fix a segmentation fault that occured when trying to connect to an IRC
server without any port configured.
Version 4.2 - 2017-04-26
========================
...
...
CMakeLists.txt
View file @
25d46924
...
...
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0)
project
(
biboumi
)
set
(
${
PROJECT_NAME
}
_VERSION_MAJOR 4
)
set
(
${
PROJECT_NAME
}
_VERSION_MINOR
2
)
set
(
${
PROJECT_NAME
}
_VERSION_MINOR
3
)
set
(
${
PROJECT_NAME
}
_VERSION_SUFFIX
""
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++1y -pedantic -Wall -Wextra"
)
...
...
packaging/biboumi.spec.cmake
View file @
25d46924
...
...
@@ -59,6 +59,10 @@ make check %{?_smp_mflags}
%changelog
* Wed May 2 2017 Le Coz Florent <louiz@louiz.org> - 4.3-1
- Fix a segmentation fault that occured when trying to connect
to an IRC server without any port configured.
* Wed Apr 26 2017 Le Coz Florent <louiz@louiz.org> - 4.2-1
- Fix a build issue when LiteSQL is absent from the system
...
...
src/irc/irc_client.cpp
View file @
25d46924
...
...
@@ -182,6 +182,11 @@ void IrcClient::start()
{
if
(
this
->
is_connecting
()
||
this
->
is_connected
())
return
;
if
(
this
->
ports_to_try
.
empty
())
{
this
->
bridge
.
send_xmpp_message
(
this
->
hostname
,
""
,
"Can not connect to IRC server: no port specified."
);
return
;
}
std
::
string
port
;
bool
tls
;
std
::
tie
(
port
,
tls
)
=
this
->
ports_to_try
.
top
();
...
...
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