#emc-devel | Logs for 2011-07-27

Back
[00:04:22] -!- theorbtwo has quit [Ping timeout: 264 seconds]
[00:04:29] theorb is now known as theorbtwo
[00:07:15] -!- cncbasher has quit [Ping timeout: 255 seconds]
[00:09:55] -!- cncbasher [cncbasher!~david@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #emc-devel
[00:22:06] -!- cncbasher has quit [Ping timeout: 255 seconds]
[00:23:41] -!- robh__ has quit [Ping timeout: 240 seconds]
[00:29:12] -!- jthornton_ [jthornton_!~chatzilla@216-41-156-49.semo.net] has joined #emc-devel
[00:30:28] -!- jthornton_ has quit [Client Quit]
[00:37:30] -!- cncbasher [cncbasher!~david@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #emc-devel
[00:48:16] -!- Valen has quit [Quit: Leaving.]
[00:57:06] -!- Valen has quit [Client Quit]
[00:59:57] -!- andypugh has quit [Quit: andypugh]
[01:47:06] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[01:54:39] -!- skunkworks [skunkworks!~chatzilla@str-bb-cable-south2-static-6-78.dsl.airstreamcomm.net] has joined #emc-devel
[02:04:08] -!- theos has quit [Disconnected by services]
[02:05:36] -!- jbunch has quit [Ping timeout: 255 seconds]
[02:31:58] -!- sumpfralle has quit [Ping timeout: 264 seconds]
[02:42:30] -!- theos has quit [Ping timeout: 255 seconds]
[02:52:11] -!- nicko has quit [Ping timeout: 250 seconds]
[02:56:01] -!- adb has quit [Ping timeout: 252 seconds]
[03:50:39] -!- ries has quit [Quit: ries]
[03:56:30] -!- FinboySlick has quit [Quit: Leaving.]
[04:07:30] -!- l0st1nsp4c3 has quit [Read error: Connection reset by peer]
[04:11:05] -!- Ze1982 [Ze1982!~Ze1982@ppp255-131.static.internode.on.net] has joined #emc-devel
[04:14:08] -!- MOGLI has quit [Ping timeout: 246 seconds]
[04:25:33] -!- mikegg has quit [Ping timeout: 255 seconds]
[04:35:36] -!- theos has quit [Excess Flood]
[04:36:21] -!- WalterN has quit [Read error: Connection reset by peer]
[04:51:41] -!- jbunch has quit [Ping timeout: 240 seconds]
[05:01:26] -!- ve7it has quit [Remote host closed the connection]
[05:10:01] -!- jbunch has quit [Ping timeout: 260 seconds]
[05:10:19] -!- awallin has quit [Read error: Connection reset by peer]
[05:13:06] -!- awallin [awallin!~quassel@cs27057046.pp.htv.fi] has joined #emc-devel
[05:27:08] -!- mhaberler [mhaberler!~mhaberler@extern-181.stiwoll.mah.priv.at] has joined #emc-devel
[05:31:55] -!- danimal_garage has quit [Ping timeout: 246 seconds]
[05:45:01] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #emc-devel
[05:46:51] -!- theos has quit [Read error: Connection reset by peer]
[05:52:20] -!- mhaberler has quit [Quit: mhaberler]
[05:57:27] -!- mhaberler [mhaberler!~mhaberler@macbook.stiwoll.mah.priv.at] has joined #emc-devel
[06:03:51] -!- theos has quit [Ping timeout: 276 seconds]
[06:06:10] -!- fatpandas has quit [Ping timeout: 264 seconds]
[06:35:57] -!- theos has quit [Disconnected by services]
[06:40:54] -!- e-ndy [e-ndy!~jkastner@nat/redhat/x-khhsssqtoxppvzby] has joined #emc-devel
[06:47:29] -!- theos has quit [Ping timeout: 258 seconds]
[07:16:59] -!- cncbasher [cncbasher!~david@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has parted #emc-devel
[07:27:46] -!- danimal_garage has quit [Ping timeout: 246 seconds]
[07:27:52] -!- awallin_ [awallin_!~quassel@2001:708:110:1020:224:7eff:feda:7c7d] has joined #emc-devel
[07:28:17] -!- robh__ [robh__!~robert@5ace7086.bb.sky.com] has joined #emc-devel
[07:58:15] -!- tris has quit [Excess Flood]
[08:13:12] -!- vladimirek [vladimirek!~vladimire@bband-dyn21.178-41-212.t-com.sk] has joined #emc-devel
[08:20:13] -!- archivist has quit [Ping timeout: 250 seconds]
[08:21:24] <CIA-11> EMC: 03cmorley 07v2.5_branch * r89d8f15ceec5 10/ (3 files in 2 dirs): pncconf add gladevcp support. add TOUCHY, AXIS, & CL options
[08:27:45] -!- maximilian_h [maximilian_h!~bonsai@ulmg-5d84df97.pool.mediaWays.net] has joined #emc-devel
[08:58:46] -!- danimal_garage has quit [Ping timeout: 246 seconds]
[09:01:02] archivist_emc is now known as archivist
[09:02:32] -!- archivist [archivist!~archivist@host81-149-189-98.in-addr.btopenworld.com] has joined #emc-devel
[09:15:05] -!- pjm__ has quit [Read error: Connection reset by peer]
[09:35:52] -!- cncbasher [cncbasher!~david@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #emc-devel
[10:01:42] -!- maximilian_h has quit [Ping timeout: 255 seconds]
[10:03:26] -!- elmo40 has quit [Ping timeout: 260 seconds]
[10:20:57] -!- theos has quit [Disconnected by services]
[10:31:13] -!- theos has quit [Disconnected by services]
[10:40:28] -!- theos has quit [Disconnected by services]
[10:48:41] -!- pingufan has quit [Remote host closed the connection]
[10:49:55] -!- theos has quit [Ping timeout: 260 seconds]
[11:27:31] -!- sumpfralle has quit [Ping timeout: 252 seconds]
[11:42:26] -!- skunkworks has quit [Ping timeout: 240 seconds]
[11:47:49] -!- nicko has quit [Quit: Visitor from www.linuxcnc.org]
[11:53:28] -!- theos has quit [Disconnected by services]
[12:09:10] -!- Poincare has quit [Ping timeout: 264 seconds]
[12:29:50] -!- sumpfralle1 has quit [Ping timeout: 252 seconds]
[12:46:46] -!- El_Matarife has quit [Quit: Nettalk6 - www.ntalk.de]
[12:54:27] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[13:26:34] -!- scanf has quit [Ping timeout: 264 seconds]
[13:30:03] -!- psha[work] has quit [Quit: Lost terminal]
[13:37:29] -!- anonimasu has quit [Read error: Connection reset by peer]
[13:43:05] -!- anonimasu [anonimasu!~an0n@82.99.104.35] has joined #emc-devel
[13:46:02] -!- skunkworks [skunkworks!447329d2@gateway/web/freenode/ip.68.115.41.210] has joined #emc-devel
[14:04:21] -!- scanf has quit [Read error: Connection reset by peer]
[14:08:19] -!- awallin_ has quit [Remote host closed the connection]
[14:12:28] -!- nullie has quit [Quit: Ex-Chat]
[14:18:29] -!- izua_ has quit [Ping timeout: 258 seconds]
[14:18:31] -!- mozmck has quit [Remote host closed the connection]
[14:24:02] -!- mozmck [mozmck!~moses@client-173.225.233.241.dfwtx.partnershipbroadband.com] has joined #emc-devel
[14:24:45] -!- Valen has quit [Quit: Leaving.]
[14:27:31] -!- micges_work [micges_work!~x@aeiz21.neoplus.adsl.tpnet.pl] has joined #emc-devel
[14:39:53] -!- awallin has quit [Read error: Operation timed out]
[14:43:09] -!- El_Matarife has quit [Quit: Nettalk6 - www.ntalk.de]
[14:59:51] -!- awallin [awallin!~quassel@cs27057046.pp.htv.fi] has joined #emc-devel
[15:13:31] -!- sumpfralle has quit [Ping timeout: 246 seconds]
[15:23:41] -!- Poincare has quit [Ping timeout: 260 seconds]
[15:35:16] -!- JT-Shop has quit [Read error: Connection reset by peer]
[15:35:57] -!- JT-Shop [JT-Shop!~chatzilla@216-41-156-49.semo.net] has joined #emc-devel
[15:41:30] -!- JT-Shop has quit [Read error: Connection reset by peer]
[15:42:03] -!- JT-Shop [JT-Shop!~chatzilla@216-41-156-49.semo.net] has joined #emc-devel
[15:43:41] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[15:53:26] -!- sumpfralle1 has quit [Ping timeout: 260 seconds]
[15:55:54] -!- micges_work has quit [Ping timeout: 252 seconds]
[16:04:20] -!- Birdman3131 has quit [Ping timeout: 252 seconds]
[16:07:51] -!- JT-Shop_ [JT-Shop_!~chatzilla@216-41-156-49.semo.net] has joined #emc-devel
[16:08:44] -!- e-ndy has quit [Quit: Ex-Chat]
[16:09:24] -!- JT-Shop has quit [Ping timeout: 258 seconds]
[16:09:33] JT-Shop_ is now known as JT-Shop
[16:11:04] -!- micges_work [micges_work!~x@afrq155.neoplus.adsl.tpnet.pl] has joined #emc-devel
[16:15:24] -!- Birdman3131 has quit [Ping timeout: 258 seconds]
[16:23:53] -!- micges_work [micges_work!~x@afrq155.neoplus.adsl.tpnet.pl] has parted #emc-devel
[16:29:20] -!- micges_work [micges_work!~x@afrq155.neoplus.adsl.tpnet.pl] has joined #emc-devel
[16:40:51] -!- Tom_itx has quit [Ping timeout: 276 seconds]
[16:48:05] <mhaberler> here's a fix for potential buffer overflows in task (v2.4_branch) - any objections? all it does is replace (v)sprintf by )v)snprintf. http://git.mah.priv.at/gitweb/emc2-dev.git/commit/b8277af827d19ec655d67ffdb1ff3d5d73ed4113
[16:48:10] -!- scanf has quit [Ping timeout: 264 seconds]
[16:54:08] Tech_Talk is now known as Birdman3131
[17:01:30] <cradek> is this in response to a problem you have seen reported?
[17:09:34] -!- sumpfralle has quit [Read error: Operation timed out]
[17:10:00] <mhaberler> I reported it to myself ;-) during working on task I sent a Python backtrace to emcOperatorError and wham!
[17:10:53] -!- ve7it [ve7it!~LawrenceG@S0106009027972e37.pk.shawcable.net] has joined #emc-devel
[17:12:33] <cradek> I am not sure which branch it belongs on
[17:13:00] <cradek> I would hesitate to put any change in 2.4 at this stage unless it fixes a critical problem
[17:13:09] <mhaberler> I dont care - I can move it to master or v2.5_branch
[17:13:16] <mhaberler> fair enough
[17:13:47] <mhaberler> whatever you recommend
[17:16:25] <cradek> is strncpy guaranteed to terminate the truncated string?
[17:16:34] <cradek> errr
[17:16:38] <cradek> snprintf
[17:16:49] <mhaberler> let me check
[17:18:58] <mhaberler> I had read the manual, but it was sortof fuzzy on that issue. I'll try a test program and see what it does.
[17:19:13] <cradek> I read the same fuzzy manpage
[17:19:25] <cradek> I think it terminates the truncated string (unlike strncpy)
[17:19:31] <mhaberler> gdb will tell..
[17:19:44] <jepler> Otherwise, output characters beyond the n-1st are
[17:19:44] <jepler> discarded rather than being written to the array, and a null character is written at the end
[17:19:47] <jepler> of the characters actually written into the array.
[17:20:11] <cradek> where did you find that?
[17:20:17] <jepler> the c99 standard
[17:20:26] <cradek> ah
[17:20:49] <jepler> wikipedia has a link to the standard. http://en.wikipedia.org/wiki/C99#External_links
[17:20:51] <cradek> then if all the uses of sizeof() are correct I think this patch is safe (for 2.5. I still would not touch 2.4.)
[17:21:23] <cradek> ... I have not checked every one
[17:21:34] <jepler> I would also prefer not to change 2.4 if this isn't hitting existing users (writing new code that calls operator message with a python backtrace doesn't count)
[17:22:22] -!- scanf has quit [Ping timeout: 264 seconds]
[17:22:53] <mhaberler> that wouldnt go in there anyway
[17:23:57] <mhaberler> ok, gdb agrees with both jepler and c99
[17:24:22] <mhaberler> it does write max-1 chars and the trailing zero
[17:25:36] <jepler> too bad strncpy wasn't designed with similar sanity
[17:25:38] <jepler> bbl
[17:26:10] <mhaberler> ok, so I'll massage it for v2.5_branch
[17:26:53] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc-devel
[17:45:31] -!- yOyOeK1 has quit [Remote host closed the connection]
[17:55:35] -!- Loetmichel has quit [Disconnected by services]
[17:55:44] Cylly is now known as Loetmichel
[18:03:25] -!- micges_work [micges_work!~x@afrq155.neoplus.adsl.tpnet.pl] has parted #emc-devel
[18:05:43] -!- pjm has quit [Ping timeout: 252 seconds]
[18:32:26] <CIA-11> EMC: 03mhaberler 07v2.5_branch * r612ccd9d1e59 10/src/emc/task/ (emccanon.cc emctask.cc emctaskmain.cc): emctask: fix potential buffer overflow in emcOperatorError() and others
[18:45:19] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[19:27:01] -!- nullie has quit [Quit: Ex-Chat]
[20:09:31] -!- Guest861 [Guest861!EMCIRCUser@182.156.187.89] has joined #emc-devel
[20:24:02] -!- vladimirek has quit [Remote host closed the connection]
[20:33:15] -!- mhaberler has quit [Quit: mhaberler]
[20:35:48] -!- motioncontrol has quit [Quit: Sto andando via]
[20:36:44] -!- skunkworks has quit [Ping timeout: 252 seconds]
[20:38:25] -!- micges [micges!~ddd@ces23.neoplus.adsl.tpnet.pl] has joined #emc-devel
[20:57:14] -!- Guest861 has quit [Quit: Visitor from www.linuxcnc.org]
[21:05:36] -!- newbynobi has quit [Quit: Verlassend]
[21:06:05] -!- FinboySlick has quit [Quit: Leaving.]
[21:13:25] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[21:36:41] -!- syyl has quit [Read error: Connection reset by peer]
[21:45:03] -!- mhaberler [mhaberler!~mhaberler@extern-181.stiwoll.mah.priv.at] has joined #emc-devel
[21:51:24] -!- mhaberler has quit [Quit: mhaberler]
[21:54:09] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[21:59:21] -!- mhaberler [mhaberler!~mhaberler@extern-181.stiwoll.mah.priv.at] has joined #emc-devel
[22:05:28] -!- mikegg has quit [Ping timeout: 252 seconds]
[22:12:28] -!- micges has quit [Quit: Ex-Chat]
[22:28:27] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[22:34:30] -!- The_Ball has quit [Ping timeout: 246 seconds]
[22:42:39] -!- vladimirek [vladimirek!~vladimire@bband-dyn21.178-41-212.t-com.sk] has joined #emc-devel
[23:26:23] -!- mhaberler has quit [Quit: mhaberler]
[23:30:18] -!- pjm has quit [Read error: Connection reset by peer]
[23:31:08] -!- WalterN has quit [Quit: Leaving]
[23:34:58] -!- Birdman3131 has quit [Disconnected by services]
[23:35:01] Tech_Talk is now known as Birdman3131
[23:36:12] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[23:51:26] -!- robh__ has quit [Ping timeout: 240 seconds]
[23:59:01] -!- tom3p [tom3p!~tomp@74-93-88-241-Illinois.hfc.comcastbusiness.net] has joined #emc-devel
[23:59:09] -!- kbarry has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.18/20110614230723]]