Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maalepaaler
qstream
Commits
956129b4
Commit
956129b4
authored
Jul 06, 2012
by
Jon Kåre Hellan
Browse files
Another attempt to fix the double printout race. Debian version 0.4-7
parent
9a0226e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
956129b4
qstream (0.4-7) unstable; urgency=low
* Another attempt to fix the double printout race. svn version r37.
-- Jon K Hellan <jk@iou1.uninett.no> Fri, 06 Jul 2012 10:19:48 +0200
qstream (0.4-6) unstable; urgency=low
* Don't call display_stats when endstream flag is set. Fixes double
printout problem. svn version r36.
-- Jon K Hellan <jon.kare.hellan@uninett.no> Thu, 05 Jul 2012 12:47:00 +0200
qstream (0.4-5) unstable; urgency=low
qstream (0.4-5) unstable; urgency=low
* Don't call init_stats from display_stats. Fixes use after free panic.
* Don't call init_stats from display_stats. Fixes use after free panic.
...
...
qstream
View file @
956129b4
...
@@ -170,10 +170,12 @@ $SIG{ALRM} = sub {
...
@@ -170,10 +170,12 @@ $SIG{ALRM} = sub {
#
Writes
stats
to
file
if
option
XML
is
given
.
-
PMM
#
Writes
stats
to
file
if
option
XML
is
given
.
-
PMM
#
die
"No packets received"
if
$
n_packets
<
1
;
#
die
"No packets received"
if
$
n_packets
<
1
;
#
$
uninterrupted
=
0
;
#
$
uninterrupted
=
0
;
&
display_stats
()
if
!$endstream;
if
(! $endstream) {
$endstream=1;
&display_stats();
}
# die "End after alarm\n";
# die "End after alarm\n";
# return(0);
# return(0);
$
endstream
=
1
;
print "endstream=1" if $opt_debug;
print "endstream=1" if $opt_debug;
};
};
...
...
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