projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[tools] fix segfault when using the maxlen argument (#4359)
[openwrt.git]
/
package
/
busybox
/
patches
/
801-brctl_zero_time.patch
1
--- a/networking/brctl.c
2
+++ b/networking/brctl.c
3
@@ -34,8 +34,9 @@ static ALWAYS_INLINE void strtotimeval(s
4
{
5
double secs;
6
#if BRCTL_USE_INTERNAL
7
+ errno = 0;
8
secs = /*bb_*/strtod(time_str, NULL);
9
- if (!secs)
10
+ if (errno)
11
#else
12
if (sscanf(time_str, "%lf", &secs) != 1)
13
#endif
This page took
0.043292 seconds
and
5
git commands to generate.