Description of problem: When using the check_ntp_peer plugin to check an ntp peer it crashes with the following trace: [root@centos-5-amd64 tom]# /usr/lib64/nagios/plugins/check_ntp_peer -H time.straycat.dhs.org *** buffer overflow detected ***: /usr/lib64/nagios/plugins/check_ntp_peer terminated ======= Backtrace: ========= /lib64/libc.so.6(__chk_fail+0x2f)[0x339dee77af] /lib64/libc.so.6(__read_chk+0x28)[0x339dee7c78] /usr/lib64/nagios/plugins/check_ntp_peer[0x40247f] /usr/lib64/nagios/plugins/check_ntp_peer[0x402e2e] /lib64/libc.so.6(__libc_start_main+0xf4)[0x339de1d994] /usr/lib64/nagios/plugins/check_ntp_peer[0x4015b9] ======= Memory map: ======== 00400000-00409000 r-xp 00000000 fd:00 397356 /usr/lib64/nagios/plugins/check_ntp_peer 00608000-00609000 rw-p 00008000 fd:00 397356 /usr/lib64/nagios/plugins/check_ntp_peer 1372a000-1374b000 rw-p 1372a000 00:00 0 [heap] 339da00000-339da1c000 r-xp 00000000 fd:00 360450 /lib64/ld-2.5.so 339dc1b000-339dc1c000 r--p 0001b000 fd:00 360450 /lib64/ld-2.5.so 339dc1c000-339dc1d000 rw-p 0001c000 fd:00 360450 /lib64/ld-2.5.so 339de00000-339df4d000 r-xp 00000000 fd:00 360457 /lib64/libc-2.5.so 339df4d000-339e14d000 ---p 0014d000 fd:00 360457 /lib64/libc-2.5.so 339e14d000-339e151000 r--p 0014d000 fd:00 360457 /lib64/libc-2.5.so 339e151000-339e152000 rw-p 00151000 fd:00 360457 /lib64/libc-2.5.so 339e152000-339e157000 rw-p 339e152000 00:00 0 339e200000-339e202000 r-xp 00000000 fd:00 360463 /lib64/libdl-2.5.so 339e202000-339e402000 ---p 00002000 fd:00 360463 /lib64/libdl-2.5.so 339e402000-339e403000 r--p 00002000 fd:00 360463 /lib64/libdl-2.5.so 339e403000-339e404000 rw-p 00003000 fd:00 360463 /lib64/libdl-2.5.so 339ea00000-339ea82000 r-xp 00000000 fd:00 360481 /lib64/libm-2.5.so 339ea82000-339ec81000 ---p 00082000 fd:00 360481 /lib64/libm-2.5.so 339ec81000-339ec82000 r--p 00081000 fd:00 360481 /lib64/libm-2.5.so 339ec82000-339ec83000 rw-p 00082000 fd:00 360481 /lib64/libm-2.5.so 33a1a00000-33a1a15000 r-xp 00000000 fd:00 360807 /lib64/libnsl-2.5.so 33a1a15000-33a1c14000 ---p 00015000 fd:00 360807 /lib64/libnsl-2.5.so 33a1c14000-33a1c15000 r--p 00014000 fd:00 360807 /lib64/libnsl-2.5.so 33a1c15000-33a1c16000 rw-p 00015000 fd:00 360807 /lib64/libnsl-2.5.so 33a1c16000-33a1c18000 rw-p 33a1c16000 00:00 0 33a7000000-33a7011000 r-xp 00000000 fd:00 360737 /lib64/libresolv-2.5.so 33a7011000-33a7211000 ---p 00011000 fd:00 360737 /lib64/libresolv-2.5.so 33a7211000-33a7212000 r--p 00011000 fd:00 360737 /lib64/libresolv-2.5.so 33a7212000-33a7213000 rw-p 00012000 fd:00 360737 /lib64/libresolv-2.5.so 33a7213000-33a7215000 rw-p 33a7213000 00:00 0 33b0000000-33b000d000 r-xp 00000000 fd:00 360650 /lib64/libgcc_s-4.1.2-20080825.so.1 33b000d000-33b020d000 ---p 0000d000 fd:00 360650 /lib64/libgcc_s-4.1.2-20080825.so.1 33b020d000-33b020e000 rw-p 0000d000 fd:00 360650 /lib64/libgcc_s-4.1.2-20080825.so.1 2ada337d1000-2ada337d2000 rw-p 2ada337d1000 00:00 0 2ada337e0000-2ada337e4000 rw-p 2ada337e0000 00:00 0 2ada337e4000-2ada36db5000 r--p 00000000 fd:00 1397603 /usr/lib/locale/locale-archive 2ada36db5000-2ada36dea000 r--s 00000000 fd:02 98350 /var/db/nscd/hosts 7fffbf6be000-7fffbf6d3000 rw-p 7ffffffea000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] Aborted This is an x86_64 VM. Have not been able to check this on an x86 system to see if this is arch specific. Version-Release number of selected component (if applicable): nagios-plugins: 1.4.13-11.el5 uname: Linux centos-5-amd64.straycat.dhs.org 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
This bug has already been reported. Please check for existing bugs before reporting new ones *** This bug has been marked as a duplicate of bug 571069 ***