080a160c7b9595d516c9c70e83689a09b60839d0 galt Mon Jun 3 12:16:53 2013 -0700 fix SQL Injection diff --git src/hg/lib/hgExp.c src/hg/lib/hgExp.c index 6d60a0a..f50bfda 100644 --- src/hg/lib/hgExp.c +++ src/hg/lib/hgExp.c @@ -46,31 +46,31 @@ char query[256], nameBuf[128]; int maxLen = 0, len; if (!hTableExists(database, table)) db = "hgFixed"; conn = sqlConnect(db); /* Read into array and figure out longest name. */ AllocArray(names, expCount); for (i=0; i maxLen) maxLen = len; } } sqlDisconnect(&conn); /* Right justify names. */ for (i=0; i