Bugzilla – Attachment 3281 Details for
Bug 1953
remove possible SQL injection attacks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow up patch for typo
patch.txt (text/plain), 881 bytes, created by
Marcel de Rooy
on 2011-03-10 14:23:48 UTC
(
hide
)
Description:
Follow up patch for typo
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-03-10 14:23:48 UTC
Size:
881 bytes
patch
obsolete
>From 030ed815b6d6d95b233f3925ec9545d83b2268b1 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 28 Feb 2011 09:24:54 +0100 >Subject: [PATCH] Follow up fix on security patch >Content-Type: text/plain; charset="utf-8" > >Fixing: Undefined subroutine prepare called on line 722. >--- > C4/AuthoritiesMarc.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 9315e55..bd5fe64 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -719,7 +719,7 @@ sub DelAuthority { > my $dbh=C4::Context->dbh; > > ModZebra($authid,"recordDelete","authorityserver",GetAuthority($authid),undef); >- my $sth = prepare("DELETE FROM auth_header WHERE authid=?"); >+ my $sth = $dbh->prepare("DELETE FROM auth_header WHERE authid=?"); > $sth->execute($authid); > } > >-- >1.6.0.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 1953
:
3281