diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-12-02 14:46:29 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-12-02 14:46:29 +0000 |
commit | d868b68093e2b7504369bb9d4b8b635e33427850 (patch) | |
tree | ef08a8dd4dcec23e9707ad5c5be06a8731a61f86 /app-mobilephone/smstools/files | |
parent | Version bump. (diff) | |
download | historical-d868b68093e2b7504369bb9d4b8b635e33427850.tar.gz historical-d868b68093e2b7504369bb9d4b8b635e33427850.tar.bz2 historical-d868b68093e2b7504369bb9d4b8b635e33427850.zip |
Version bump. Fix buffer overflow, thanks to Niclas Felske <nfelske@gmx.de> (#155928).
Package-Manager: portage-2.1.1-r1
Diffstat (limited to 'app-mobilephone/smstools/files')
-rw-r--r-- | app-mobilephone/smstools/files/2.2.12-buffer-overflow.patch | 12 | ||||
-rw-r--r-- | app-mobilephone/smstools/files/digest-smstools-2.2.12 | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app-mobilephone/smstools/files/2.2.12-buffer-overflow.patch b/app-mobilephone/smstools/files/2.2.12-buffer-overflow.patch new file mode 100644 index 000000000000..4f8ac2673345 --- /dev/null +++ b/app-mobilephone/smstools/files/2.2.12-buffer-overflow.patch @@ -0,0 +1,12 @@ +diff -Nru smstools.orig/src/cfgfile.c smstools/src/cfgfile.c +--- smstools.orig/src/cfgfile.c 2006-11-04 13:52:06.000000000 +0200 ++++ smstools/src/cfgfile.c 2006-12-02 16:41:21.674892919 +0200 +@@ -144,7 +144,7 @@ + if (splitline(line,name,size_name,value,size_value)==0) + { + strncpy(value,line,size_value); +- value[size_value]=0; ++ value[size_value-1]=0; + return -1; + } + else diff --git a/app-mobilephone/smstools/files/digest-smstools-2.2.12 b/app-mobilephone/smstools/files/digest-smstools-2.2.12 new file mode 100644 index 000000000000..32992155dbd6 --- /dev/null +++ b/app-mobilephone/smstools/files/digest-smstools-2.2.12 @@ -0,0 +1,3 @@ +MD5 862a7a14c94e6ddd3afb614b437bd1b8 smstools-2.2.12.tar.gz 465993 +RMD160 552e59fb0026cee1c54f70caca4d4521bad5a220 smstools-2.2.12.tar.gz 465993 +SHA256 eb85c672d4fd1afd822c792a529148a8928ccd845d935098ad5c74791abf6785 smstools-2.2.12.tar.gz 465993 |